Sha256: ea7c78664ce3c7742e685ec148bc134f54f2b78667f88da810ef18643178ba94

Contents?: true

Size: 1018 Bytes

Versions: 1

Compression:

Stored size: 1018 Bytes

Contents

Description
===========
A simple string obfuscator.

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

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

Constants
=========
VERSION
   The current version of the module, returned as a String.

Class Methods
=============
Fog.new(string,degree=13)
   Creates and returns a new Fog object, which is your obfuscated string.
   The degree is the value used to obfuscate the string.  Method not provided here.
   You'll have to look at the code. :)

Fog.decrypt(string,degree=13)
   Returns a (presumably) decrypted String.  Should be used when the string comes
   from an external source.

Instance Methods
================
Fog#decrypt
   Returns a decrypted String, using the degree that was provided during
   initialization.

Notes
=====
Fog is a subclass of String.

License
=======
Artistic

Copyright
=========
(C) 2003 Daniel J. Berger
All rights reserved.

Author
======
Daniel J. Berger
djberg96 at yahoo dot com
rubyhacker1 on IRC

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crypt-fog-0.1.0 doc/fog.txt