Secret Algorithm in GTR
Please use the Enum ID in the variable part in the API.
| Algorithm Name | Enum ID | Default in GTR | Have additional encryption params | Public Key Format (For Store and List) |
|---|---|---|---|---|
| Keccak 256 | keccak256 | X | X | X |
| RSA-OAEP SHA-1 MFG-1 | rsa_ecb_oaep_with_sha1_and_mgf1padding | X | X | PEM (Certificate) String |
| ED25519 key for Curve25519 cipher | ed25519_curve25519 | Yes | X | Base64 String |
| ECIES with SECP384R1 for TUBITAK system | ecies_secp384r1_tubitak | X | YES (EphemeralPublicKey) | PEM (Certificate) String |
| ECIES with SECP256K1 for SYGNA system | ecies_secp256k1_sygna | X | X | Customized (EC Point that remove ASN.1 and build by format: '04' + affine X + affine Y) |
Encryption / Decryption Library
GTR has release the encryption library for java that can support the algorithms above and easy to fit the scenario using GTR solutions.