Stefan Claas
2023-12-24 16:44:05 UTC
Hi all,
echo -n 'Merry Christmas and a Happy New Year' | base16 -l 0
4d65727279204368726973746d617320616e642061204861707079204e65772059656172
Now we encrypt this message with fpe, a 256 bit key and a 64 bit nonce:
ca94a7a70929a2eb44faf7a9195541be16a97ab17e0a40cd95c81978f14fcdf6b76892ae
After that we convert the hex string to decimal
393547191367737629111313439284388256222575714261460221423875982235587707334230765245102
and finally group the string into 5 digits groups, to have an OTP
look a like message. :-)
39354 71913 67737 62911 13134 39284 38825 62225 75714 26146
02214 23875 98223 55877 07334 23076 52451 02
This is just for fun, but shows also for what hex2dec and vice versa
converters can be used.
Merry Christmas
Stefan
echo -n 'Merry Christmas and a Happy New Year' | base16 -l 0
4d65727279204368726973746d617320616e642061204861707079204e65772059656172
Now we encrypt this message with fpe, a 256 bit key and a 64 bit nonce:
ca94a7a70929a2eb44faf7a9195541be16a97ab17e0a40cd95c81978f14fcdf6b76892ae
After that we convert the hex string to decimal
393547191367737629111313439284388256222575714261460221423875982235587707334230765245102
and finally group the string into 5 digits groups, to have an OTP
look a like message. :-)
39354 71913 67737 62911 13134 39284 38825 62225 75714 26146
02214 23875 98223 55877 07334 23076 52451 02
This is just for fun, but shows also for what hex2dec and vice versa
converters can be used.
Merry Christmas
Stefan
--
----Ed25519 Signature----
5fe71d0255bbc7f968b15ff1f4d5897e2d3211bd98687f1ed1d048f2616a08bd
6227903e8058f9c334684aecf602cdd7f0ce2e2a8d6eca94f530a9d9f33ab70d
----Ed25519 Signature----
5fe71d0255bbc7f968b15ff1f4d5897e2d3211bd98687f1ed1d048f2616a08bd
6227903e8058f9c334684aecf602cdd7f0ce2e2a8d6eca94f530a9d9f33ab70d