Skip to content

Commit 053455c

Browse files
committed
Added new method
1 parent f5dd97c commit 053455c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

camellia/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ def try_compiler(cc, inf, outf):
139139
Camellia_Encrypt = crypto_engine.Camellia_Encrypt
140140
Camellia_Decrypt = crypto_engine.Camellia_Decrypt
141141

142+
def new(*args, **kwargs):
143+
return CamelliaCipher(*args, **kwargs)
144+
142145
class CamelliaCipher(object):
143146
block_size = 16*8
144147

0 commit comments

Comments
 (0)