Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

FlorianUlivi/sjcl-ccm-decrypt-test-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SJCL ccm decrypt test

This is a test program for learning the OpenSSL API to decrypt a message encrypted with sjcl.

  • password: "password"
  • salt: 3B889F6A 5CE3FC4B
  • key: 7DED638F DD30ACDB 4A34D153 48F12D95 BB388A7E 8CB9C35B 8D9C9009 89454E1E
  • iv: ECCFB278 E13D4DA6 695BBD75 77C61F7C
  • message: "Hallo Welt!"

The json data was created with this demo.

{"iv":"7M+yeOE9TaZpW711d8YffA==",
"v":1,
"iter":1000,
"ks":256,
"ts":64,
"mode":"ccm",
"adata":"",
"cipher":"aes",
"salt":"O4ifalzj/Es=",
"ct":"Lsbc3V06Fruulq83CRSiD2dohA=="}

This SO post was a great help.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published