🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

bfencryption

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfencryption

A encryption which decrypts using brute force.

0.1.5
PyPI
Maintainers
1

bfencryption

A encryption tool.

Simple encryption

Use encrypt(<input>, <key>)

to use the simple encryption. It returns the encrypted string.

Use decrypt(<encrypted input>, <key>)

to decrypt a simple encrypted string. It returns the decrypted string.

Safer encryption

This version is safer, but the encrypted string is very long.

You need to specify the security level. The higher the security level,

the longer the encrypted string, and it needs longer to decrypt.

Security levels

1 is the same as the simple encryption.

The higher you go, the longer it takes to decrypt it.

2 or 3 is good for the most use cases.


Use safe_encrypt(<input>, <key>, <security level>)

to encrypt a string with a security level. It returns the encrypted string.

Use safe_decrypt(<encrypted input>, <key>, <security level>)

to decrypt an encrypted string with a security level.

The security level has to be the same as the security level used in the encryption.

It returns the decrypted string.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts