Skip to content

ehkluo/enclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

中文版说明请向下滚动.

Enclib

Enclib is an enhanced encryption library wrapper for Python

WARNING: The library itself is still under active development. Algorithms may be modified without backwards compatibility support. Please DO NOT use it in production environment until the stable version is released.

Features

  • Cascaded encryption (AES-Blowfish-CAST5)
  • Built-in key strengthening function which increases the difficult of brute-force attack and rainbow table attack.
  • Quick mode using AES256 with key strengthening
  • General class with built-in version identification function

Requirements

Example

#!/usr/bin/env python

from enclib import *

rawtext="This is the content."
key="password"
enc=Enclib()
enctext = enc.encrypt(key, rawtext)
print enctext.encode('hex')
rawtext = enc.decrypt(key, enctext)
print rawtext

Security Audit

You are welcome to audit the scripts and provide feedback on its functions or vulnerability.

Enclib

Enclib 是一个增强型 Python 加密库。

警告: 截至当前 Enclib 目前仍处在初步开发阶段。在稳定版本发布之前,该库的算法可能会被更改而不提供向后的兼容支持,所以请暂时不要用在生产环境当中。

特色

  • 层叠加密算法 (AES-Blowfish-CAST5)
  • 内置密匙增强功能。该功能可以增加暴力破解或者利用彩虹表破解的难度。
  • 使用 AES256 加密的快速模式
  • 内置版本核对功能的通用库

要求

例子

#!/usr/bin/env python

from enclib import *

rawtext="This is the content."
key="password"
enc=Enclib()
enctext = enc.encrypt(key, rawtext)
print enctext.encode('hex')
rawtext = enc.decrypt(key, enctext)
print rawtext

安全审核

欢迎任何人审核该库的代码并向我们提供反馈。

About

An enhanced encryption library wrapper for Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages