Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

xchacha20

Message:  hello
Key (32 byte):  b'b3a11180166e83c3d8954dfeb9fb4ecbe5e5d222efa3d1c9014d0dfcfaedec80'
Nonce (24 byte):  b'629380e6ba96504d7d84a351d63ab5c57b8a6882ef5e6e0f'
Encrypted:  b'9b23fe50e0e66b6f8c6c398ef0f01b467520b4bc06'
Length of cipher: 21 = Cipher message: 5 + MAC bytes: 16
Decrypted:  hello
Source by medium.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+7 =