On Mon, 5 Sep 2022 17:34:38 -0400
George Rosamond <george@ceetonetechnology.com> wrote:
> Shift Ciphers gem is simple, yet complete, implementation of classic
> Caesar and Vigenere ciphers. It also features custom, hardened
> version of Vigenere cipher, which uses autokey scheme and PRNGs.
I can use this gem without having it to OpenBSD ports,
$ # after pkg_add ruby%3.1 ruby-shims
$ gem install --user shift_ciphers
$ irb -rshift_ciphers
irb(main):001:0> ShiftCiphers::Caesar.encrypt("secret")
=> "FrpErG"
It's easy, because this simple gem has only interpreted Ruby code
(no compiled code), and no commands for PATH.
Other people might have reasons to "pkg_add" and not "gem install"
this gem, so I don't object if this port is imported.
--another George
No comments:
Post a Comment