Sha256: 73f7c1569425b617701212f33679e38f09b1b595d5f86163a7ac54aebc800d69

Contents?: true

Size: 1016 Bytes

Versions: 1

Compression:

Stored size: 1016 Bytes

Contents

=begin
= 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 your 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
=end

Version data entries

1 entries across 1 versions & 1 rubygems

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