Encrypt Class

class securefile.Encrypt(file_name, delimiter=':')

Encrypt is the center class for all the module it is a wrapper class for all encryption and decryption algorithm.

Example

from securefile import Encrypt
enc = Encrypt('test.md', delimiter=':')
Special Method:
Method:
Attributes:
  • __file_name
  • __plain_text
  • __open_flag
__init__(file_name, delimiter=':')

Encrypt class object takes two argument

Parameters:
  • file_name (str) – file name with path that is going to encrypted or decrypted.
  • delimiter=':' (chr) – delimiter used to pack/split the bytes of file.
Returns:

None

Raises:

None