module Gmaps::Support::FileEncryptor
Defined in:
gmaps/support/file_encryptor.crConstant Summary
-
ENCRYPT_ENV =
"GMAPS_ENCRYPTION_KEY"
-
FILE_PATH =
"./.encryption_key"
Class Method Summary
- .encryption_key(file = FILE_PATH)
- .read(filename : String, encryption_key = self.encryption_key)
- .read_as_string(filename, encryption_key = self.encryption_key)
- .write(filename : String, body : String | Bytes, encryption_key = self.encryption_key)
Class Method Detail
def self.write(filename : String, body : String | Bytes, encryption_key = self.encryption_key)
#