DES Key Class¶
-
class
securefile.keyset.DES_KEY(key)¶ Data Encryption Standard (DES) Algorithm key object.
Method: genrate()Attributes: key -
static
genrate(key)¶ @staticmethod
Genrate the DES Key object.
Example
des_key = DES_KEY.genrate('12345678123456781234567812345678')
Parameters: key (str) – Key string Returns: DES_KEYKey objectRaises: ValueError – DES key must be 8 charecter long
-
static