module

SurFTP::Encryption

Constants

IV_SIZE = 16
KEY_SIZE = 32
MASTER_KEY_PATH = "/etc/surftp/master.key"

Class methods

decrypt_password(encrypted : String) : String
Source
encrypt_password(plaintext : String) : String
Source
generate_master_key
Source
load_master_key
Source