Skip to content

DaveLaj/go-aes-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DECRYPTION API

How To Run

go run .

APIs

All APIs that can accept a body will assume that that body is JSON.

All examples assume you run on localhost

Decrypt Json

URL : {{local}}/api/v1/ref-codes/pos/:posID

Method : POST

Body :

Please note: I am just sending the key for a future implementation with RSA. (AES Key will be encrypted with RSA soon)

{
    "Data" : "JsonInEncryptedCipherText",
    "Key"  : "aesKey"
}

Success Response

Code : 200 OK

The response would be a json

About

Go AES-GCM decryption test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages