项目作者: hhelibeb

项目描述 :
Blowfish encryption in ABAP
高级语言: ABAP
项目地址: git://github.com/hhelibeb/blowfish-abap.git
创建时间: 2019-10-17T08:36:23Z
项目社区:https://github.com/hhelibeb/blowfish-abap

开源协议:Apache License 2.0

下载


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

  1. DATA(blowfish) = NEW zcl_blowfish( CONV #( '04B915BA43FEB5B6' ) ).
  2. DATA(plain) = 'The quick brown fox jumped over the lazy dog.'.
  3. DATA(cipher) = blowfish->encrypt_cbc( CONV #( plain ) ).
  4. plain = blowfish->decrypt_cbc( cipher ).
  5. cl_demo_output=>display( plain && cl_abap_char_utilities=>newline && cipher ).

TODO

  • Exceptions
  • Tests
  • Support for ABAP 740