Skip to content

MCrypt Rijndael256-CBC Implementation for Idolmaster Cinderella Girls Starlight Stage

License

Notifications You must be signed in to change notification settings

import-shiburin/cgss-rijndael

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGSS-Rijndael

Rijndael 256-CBC Implementation with mcrypt, for developing API client of Idolmaster Cinderella Girls Starlight Stage

Requirements

gcc >= 4.7
libmcrypt-dev

Installation

python3 setup.py install

Currently, the module is only tested on Python 3.5.

Usage

Import the module with:

import cgss_rijndael

Encrypt plaintext with:

cgss_rijndael.encrypt(Key, IV, plaintext)

Decrypt ciphertext with:

cgss_rijndael.decrypt(Key, IV, ciphertext)

Encrypt and Decrypt functions will return:

bytearray object for successful quit,
None for unsuccessful quit

Every key and IV must be 32 bytes long.

License

Distributed with MIT License.

About

MCrypt Rijndael256-CBC Implementation for Idolmaster Cinderella Girls Starlight Stage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published