Skip to content

hhelibeb/blowfish-abap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blowfish-abap

Blowfish encryption in ABAP

ABAP Version: 750 or higher

Blowfish encryption (ECB and CBC MODE) as defined by Bruce Schneier here: http://www.schneier.com/paper-blowfish-fse.html

The blowfish-abap is implemented with reference to C# source code.

Usage

DATA(blowfish) = NEW zcl_blowfish( CONV #( '04B915BA43FEB5B6' ) ).

DATA(plain)  = 'The quick brown fox jumped over the lazy dog.'.
DATA(cipher) = blowfish->encrypt_cbc( CONV #( plain ) ).
plain        = blowfish->decrypt_cbc( cipher ).

cl_demo_output=>display( plain && cl_abap_char_utilities=>newline && cipher ).

TODO

  • Exceptions
  • Tests
  • Support for ABAP 740

Releases

No releases published

Packages

No packages published

Languages