Module: KBEncryptionMixin

Module | KBEncryptionMixin
In: | lib/kirbybase.rb

### Methods

encrypt_str unencrypt_str

### Constants

EN_STR | = | 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' + \ '0123456789.+-,$:|&;_ '
EN_STR_LEN | = | EN_STR.length
EN_KEY1 | = | ")2VER8GE\"87-E\n"
EN_KEY | = | EN_KEY1.unpack("u")[0]
EN_KEY_LEN | = | EN_KEY.length

### Public Instance methods

encrypt_str(s)

Returns an encrypted string, using the Vignere Cipher.

unencrypt_str(s)

Returns an unencrypted string, using the Vignere Cipher.

[Validate]