Rubynet-announce Digest, Vol 6, Issue 1

Send rubynet-announce mailing list submissions to
rubynet-announce@lists.rubynet.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.rubynet.org/lists/listinfo/rubynet-announce
or, via email, send a message with subject or body ‘help’ to
rubynet-announce-request@lists.rubynet.org

You can reach the person managing the list at
rubynet-announce-owner@lists.rubynet.org

When replying, please edit your Subject line so it is more specific
than “Re: Contents of rubynet-announce digest…”

Today’s Topics:

  1. [ANN] crypt-fog 0.1.0 (Daniel Berger)
···

Message: 1
Date: Thu, 31 Jul 2003 16:26:43 -0600
From: Daniel Berger djberge@qwest.com
Subject: [ruby-announce] [ANN] crypt-fog 0.1.0
To: rubynet-announce rubynet-announce@lists.rubynet.org
Message-ID: 3F2997A3.1020407@qwest.com
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi all,

I’m happy to announce the release of crypt-fog, a simple but effective
text obfuscator.

Synopsis

include Crypt
s = Fog.new(“hello”,2003)
p s # ";8??B"
p s.decrypt # “hello”

Fog.decrypt(";8??B",2003) # “hello”

Now you can encrypt those DBRC passwords that some of you were worried
about being in plaintext. Just don’t forget your salt value. :slight_smile:

Here’s the source code to the Fog class for those curious how I achieve
this marvel of modern cryptography (one string - newlines you may see
are forced by browser):

\024\035\022$$\321\367
\030\321\355\321\004%#\032\037\030\273\273\321\321\321\a\366\003\004\37
2\000\377\321\356\321\323\341\337\342\337\341\323\273\273\321\321\321\025\026\027\321\032\037\032%\032\022\035
\032+\026\331$%#\032\037\030\335\025\026\030#\026\026\356\342\344\332\273\321\321\321\321\321\321\361\025\026
030#\026\026\321\356\321\025\026\030#\026\026\337%
\020\032\321\273\321\321\321\321\321\321$%#\321\356\321\026
\037\024#!%\331$%#\032\037\030\335\025\026\030#\026\026\332\273\321\321\321\321\321\321$&!\026#\331$%#\332\27
3\321\321\321\026\037\025\273\273\321\321\321\025\026\027\321\025\026\024#
!%\273\321\321\321\321\321\321&\037
!\022\024\034\331\323\364\333\323\332\337\036\022!,\321-\026-\321\026\321\336\356\321\361\025\026\030#\026\026
\321.\337!\022\024\034\331\323\364\333\323\332\273\321\321\321\026\037\025\273\273\321\321\321\025\026\027\321
%
\020$\273\321\321\321\321\321\321$\026\035\027\337\032\037$!\026\024%\273\321\321\321\026\037\025\273\273\32
1\321\321\025\026\027\321$\026\035\027\337\025\026\024#!%\331$%#\335\025\026\030#\026\026\356\342\344\332\273
\321\321\321\321\321\321$%#\337&\037!\022\024\034\331\323\364\333\323\332\337\036\022!,\321-\026-\321\026\321
336\356\321\025\026\030#\026\026\321.\337!\022\024\034\331\323\364\333\323\332\273\321\321\321\026\037\025\273
\273\321\321\321!#\032’\022%\026\273\273\321\321\321\321\321\321\025\026\027\321\026\037\024#
!%\331$%#\356$\0
26\035\027\335\025\026\030#\026\026\356\361\025\026\030#\026\026\332\273\321\321\321\321\321\321\321\321\321$%
#\337&\037!\022\024\034\331\323\364\333\323\332\337\036\022!,\321-\026-\321\026\321\334\356\321\025\026\030#\0
26\026\321.\337!\022\024\034\331\323\364\333\323\332\273\321\321\321\321\321\321\026\037\025\273\273\026\037\0
25

Ah, the wonders of module_eval()

Enjoy!

Dan



rubynet-announce mailing list
announce@rubynet.org
http://lists.rubynet.org/lists/listinfo/rubynet-announce

End of rubynet-announce Digest, Vol 6, Issue 1