Created
December 11, 2012 12:29
-
-
Save nexces/4258218 to your computer and use it in GitHub Desktop.
Ciphers output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUBY :: CFB from ECB | |
IN: 26 :: abcdefghijklmnopqrstuwvxyz | |
CFB OUT: 26 :: 8f6bd9041eb42269b0cdf515eb9667cd530bc82323337da5440d :: feedbackSize: 1 | |
CFB OUT: 26 :: 8ff9164ff6b7b0ecf5b4058908489dd215e128dffa9c39358b47 :: feedbackSize: 2 | |
CFB OUT: 26 :: 8ff95ef88e4f85b5086ce88b077051ea4e67c25f1af743f2564f :: feedbackSize: 3 | |
CFB OUT: 26 :: 8ff95e8ffe01293da7fc52d7d503560bb9d0de8b4cab22de19ae :: feedbackSize: 4 | |
CFB OUT: 26 :: 8ff95e8f271d8a585c59c2a575c2af6a0769bcddd35c1df40b37 :: feedbackSize: 5 | |
CFB OUT: 26 :: 8ff95e8f27fd5a2fffde0be50bb6be8df280066b80bb0c3103e8 :: feedbackSize: 6 | |
CFB OUT: 26 :: 8ff95e8f27fd38b0c97c77c0c767580258322c0be348b049bd63 :: feedbackSize: 7 | |
CFB OUT: 26 :: 8ff95e8f27fd380f1de6358a1068633f468d99b6b73c6b09a6aa :: feedbackSize: 8 | |
RUBY :: Actual | |
IN: 26 :: abcdefghijklmnopqrstuwvxyz | |
ECB OUT: 32 :: 7f117c781ab58a69dd79d55b9eeea038fe8a19e5ce4a75d4e4ea3e511018a523 | |
CBC OUT: 32 :: dfb381b3b1409c9f36c2b7b0bb4012c84e5d2f0eaaac6dc753fe8e17ddaf0e6a | |
CFB OUT: 26 :: 8ff95e8f27fd380f1de6358a1068633f468d99b6b73c6b09a6aa | |
OFB OUT: 26 :: 8ff95e8f27fd380f5821afd2654ba67ed9983192c9f973e7bd77 | |
PHP :: Actual | |
IN: 26 :: abcdefghijklmnopqrstuwvxyz | |
ECB OUT: 32 :: 7f117c781ab58a69dd79d55b9eeea038fe8a19e5ce4a75d4e4ea3e511018a523 | |
CBC OUT: 32 :: dfb381b3b1409c9f36c2b7b0bb4012c84e5d2f0eaaac6dc753fe8e17ddaf0e6a | |
CFB OUT: 26 :: 8fbbb19402443f3b1de42ce8d1e9bcc09a6631ea672ad7174484 | |
OFB OUT: 26 :: 8f1201e60014a605e0a65988ce08b6b85dca7ef6b2e4809f8318 | |
NCFB OUT: 26 :: 8ff95e8f27fd380f1de6358a1068633f468d99b6b73c6b09a6aa | |
NOFB OUT: 26 :: 8ff95e8f27fd380f5821afd2654ba67ed9983192c9f973e7bd77 | |
CFB: The Cipher-Feedback Mode (in 8bit). This is a self-synchronizing stream cipher implemented from a block cipher. This is the best mode to use for encrypting strings or streams. This mode requires an IV. | |
OFB: The Output-Feedback Mode (in 8bit). This is a synchronous stream cipher implemented from a block cipher. It is intended for use in noisy lines, because corrupted ciphertext blocks do not corrupt the plaintext blocks that follow. Insecure (because used in 8bit mode) so it is recommended not to use it. Added just for completeness. | |
nOFB: The Output-Feedback Mode (in nbit). n Is the size of the block of the algorithm. This is a synchronous stream cipher implemented from a block cipher. It is intended for use in noisy lines, because corrupted ciphertext blocks do not corrupt the plaintext blocks that follow. This mode operates in streams. | |
nCFB: The Cipher-Feedback Mode (in nbit). n Is the size of the block of the algorithm. This is a self synchronizing stream cipher implemented from a block cipher. This mode operates in streams. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment