IT-Club-SMKN-21-Jakarta / SuckSCrypt

A Fastest & Secure Encryption System.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuckSCrypt

A Fastest & Secure Encryption System.

Installation

You can install SuckSCrypt via pip:

pip install SuckSCrypt

Example Uses

from suckscrypt.core import generate_key, sucks_encrypt, sucks_decrypt

# generate keyy and salt
key, salt = generate_key()

# enc
plaintext = b'Wow, SuckSCrypt is very secure.'
encrypted_text = sucks_encrypt(key, plaintext)

# dec
decrypted_text = sucks_decrypt(key, encrypted_text)

print(f'Encrypted text (hex): {encrypted_text.hex()[:20]}...')
print(f'Decrypted text: {decrypted_text.decode()}')

About

A Fastest & Secure Encryption System.

License:Apache License 2.0


Languages

Language:Python 100.0%