Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hhelibeb/blowfish-abap

Blowfish encryption in ABAP
https://github.com/hhelibeb/blowfish-abap

abap blowfish encryption sap

Last synced: 9 days ago
JSON representation

Blowfish encryption in ABAP

Awesome Lists containing this project

README

        

# 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#](https://www.schneier.com/code/blowfish.cs) 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
- [x] Exceptions
- [x] Tests
- [ ] Support for ABAP 740