Latest version
Close
![Where To Install Crypt Library C++ Mac Where To Install Crypt Library C++ Mac](/uploads/1/2/6/6/126627317/257915259.jpg)
![Where To Install Crypt Library C++ Mac Where To Install Crypt Library C++ Mac](/uploads/1/2/6/6/126627317/453011534.png)
Thank you for downloading the POCO C Libraries and welcome to the growing community of POCO C Libraries users. This document will help you in getting a smooth ride while installing and setting up the POCO C Libraries and going the first steps with the software. I had a problem installing with Xcode 4 on Lion 10.7.1, GMP not found error, had to remove other python versions and install this one: Python 2.7.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer with pycrypto version 2.3. And this worked for me.
Released:
Simple, secure encryption and decryption for Python 2.7 and 3
Project description
What Does Simple Crypt Do?
Simple Crypt encrypts and decrypts data. It has two functions, encryptand decrypt:
That’s it. You can see the implementation ongithub.
Why Should I Use Simple Crypt?
- It uses standard, well-known algorithms, closely following therecommendations here.
- The established, efficient pycryptolibrary provides the algorithm implementations (the cipher used is AES256).
- It includes a check (an HMAC with SHA256) to warn when ciphertextdata are modified.
- It tries to make things as secure as possible when poor qualitypasswords are used (PBKDF2 with SHA256, a 256 bit random salt(increased from 128 bits in release 3.0.0), and 100,000 rounds(increased from 10,000 in release 4.0.0)). But that doesn’t meanyou should use a poor password!
- Using a library, rather than writing your own code, means that wehave less solutions to the same problem. That means more chance offinding bugs, which means more reliable, more secure code.
- If simple-crypt does have a bug, the use of a header in theciphertext data will help support an upgrade path (I can’t promisefull backwards support, because any solution will depend on theattack, but at least the needed information is present).
What Else Should I Know?
- You must also install pycrypto. Note that pycrypto hasparts written in C so requires a full python install. On some unixsystems that may mean adding a package like python-dev from yourpackage manager.
- In Python 3 the outputs from encrypt and decrypt arebytes. If you started with string input then you can convertthe output from decrypt using .decode('utf8'):
- More documentation and examples.
- Later versions can decrypt data from previous versions, but dataencrypted by later (major) versions cannot be decrypted by earliercode (instead, an error is raised asking the user to update to thelatest version).
- (c) 2012-2015 Andrew Cooke, andrew@acooke.org;2013 d10n, david@bitinvert.com.Released into the public domain for any use, but with absolutely no warranty.
Release historyRelease notifications
4.1.7
4.1.6
Vb visible. 4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.0.0
0.2.0
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size simple-crypt-4.1.7.tar.gz (10.6 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for simple-crypt-4.1.7.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 49462ab7ea4b080a8c10e362abfe35ecfa6dbe1e1c454ea36de7d2a71dce992f |
MD5 | dc2b13ce6be9c9da08fb1e7d83498882 |
BLAKE2-256 | 60665bf6feb073f715a61492f8a6d444ad3d884ada71af317ce7a9c80bebee60 |
#PHP-CryptLib
##Version
The current version is considered Alpha. This means that it is ready enough to start testing and vetting the library, but not feature complete and not production ready.
As this software is ALPHA, Use at your own risk!
#About
PHP-CryptLib aims to be an all-inclusive cryptographic library for all cryptographic needs. It is meant to be easy to install and use, yet extensible and powerful enough for even the most experienced developer.
##Design Goals
- 100% PortableThat means there are no hard (meaning required) dependencies on extensions or non-standard server configurations. Certain configurations will have better performance for certain features, but all configurations should be supported.
- Well DesignedThe code will use industry standard design patterns as well as follow guidelines for clean and testable code.
- Well TestedThat means that the code should be well covered by unit tests. In addition to unit tests, standard test vectors should be run for custom implementations of algorithms to ensure proper behavior.
- Easy To InstallPHP-CryptLib will support two install methods. The first method is a pear based installer. The second is a single file PHAR archive.
- Easy To UseOne goal of this system is to provide a simple interface which has secure defaults for standard cryptographic needs (Random token generation, password hashing and verifying, etc). If more power is needed, additional layers of abstraction are available to wire together however is needed.
- Easy To ExtendThe library should be very easy to extend and add new functionality.
#Features
##Optional Autoloading
If you include CryptLib via a PHAR package, it will automatically autoload all of the classes for you, no extra step necessary. Simply:
![Where To Install Crypt Library C++ Mac Where To Install Crypt Library C++ Mac](/uploads/1/2/6/6/126627317/257915259.jpg)
If you include CryptLib via a filesystem install, you can use the internal autoloader by either loading the bootstrap.php file, or loading the CryptLib.php file
or
You can also use any [PSR-0] 3 autoloader. CryptLib will automatically detect if an autoloader is setup for its namespace, and will not declare its own if it finds one (it does this by testing if the class CryptLibCoreAutoLoader can be found. If so, that means that an autoloader was declared already. If not, it loads the core implementation).
Note that the path you supply is the directory which contains the CryptLib directory. Not the CryptLib directory itself.
![Where To Install Crypt Library C++ Mac Where To Install Crypt Library C++ Mac](/uploads/1/2/6/6/126627317/453011534.png)
##Secure Random Number/String Generation
PHP-CryptLib implements a method specified in [RFC 4086 - Randomness Requirements for Security] 2. Rebuild photos library mac os. Basically, it generates randomness from a number of pseudo random sources, and 'mixes' them together to get better quality random data out. When you specify the 'strength' of random generator, you are actually telling the system which sources you would like to use. The higher the strength, the slower and potentially more fragile the source it will use.
The mixing function is also dependent upon the strength required. For non-cryptographic numbers, a simple XOR mixing function is used (for speed). As strength requirements increase, it will use a SHA512 based mixing function, then a DES based mixing function and finally an AES-128 based mixing function at 'High' strength.
And all of this is hidden behind a simple API.
To generate user-readable strings, you can use the CryptLib class (which generates medium strength numbers by default):
Or you can use the core generator to get more control:
To generate salts, simple use CryptLib::getRandomString() or Generator::generate()
##Password Hashing And Validation
A number of password hashing algorithms are supported. When creating a new hash, the algorithm is chosen via a prefix (a CRYPT() style prefix). The library will do the rest (salt generation, etc):
When validating password hashes, where possible, the library will actually auto-detect the algorithm used from the format and verify. That means it's as simple as:
You can bypass the auto-detection and manually verify:
#Specifications https://supernalmatrix226.weebly.com/upload-photos-from-mac-photo-library-to-google-photos.html.
- Supported Portable Block Ciphers
- aes-128
- aes-192
- aes-256
- rijndael-128
- rijndael-160
- rijndael-192
- rijndael-224
- rijndael-256
- des
- tripledes
- Supported Portable Cipher Modes Of Operation
- CBC - Encryption (Cipher Block Chaining)
- CCM - Encryption and Authentication (Counter Cipher Block Chaining)
- CFB - Encryption (Cipher FeedBack)
- CTR - Encryption (Counter)
- ECB - Encryption (Electronic CodeBook)
- NOFB - Encryption (Output FeedBack - Variable Block Size)
- Supported Packing Modes
- ANSI-923
- ISO-10126
- PKCS-7
- Zeros - (Null Padding)
- Supported Key Derivation Functions
- KDF1
- KDF2
- KDF3
- Supported Password Based Key Derivation Functions
- BCrypt
- PBKDF1
- PBKDF2
- SHA256 - (crypt()'s implementation)
- SHA512 - (crypt()'s implementation)
- Schneier (a PBKDF derivative)
- Supported MAC Functions (Message Authentication Code)
- CMAC (Cipher MAC)
- HMAC (Hash MAC)
- Supported Password Storage Functions
- APR1 - Apache's internal password function
- Blowfish - BCrypt
- Drupal - Drupal's SHA512 based algorithm
- Hash - Raw md5, sha1, sha256 and sha512 detected by length
- Joomla - Joomla's MD5 based algorithm
- PBKDF - A PBKDF implementation (which supports any supported password based key derivation)
- PHPASS - An implementation of the portable hash from the PHPASS library
- PHPBB - PHPBB's MD5 based algorithm
- Supported Random Number Sources
- CAPICOM - A COM object method call available on Windows systems
- MTRand - Generation based upon the mt_rand() functions
- MicroTime - A low entropy source based upon the server's microtime
- OpenSSL - Generation from the OpenSSL library (if available)
- Rand - A low entropy source based upon rand()
- Random - Generation from the system's /dev/random source
- URandom - Generation from the system's /dev/urandom source
- UniqID - A low entropy source based upon uniqid()
#Library Dependencies:
The only dependency PHP-CryptLib has to use as a library is the PHP version. It is made to be completely indepedent of extensions, implementing functionality natively where possible.
##Required
- PHP >= 5.3.2
##Optional
- [MCrypt] 1 Support Compiled In
#Build (Testing) Dependencies:
Where To Install Crypt Library C Mac And Paste
These dependencies are necessary to build the project for your environment (including running unit tests, packaging and code-quality checks)
##Pear Dependencies
Where To Install Crypt Library C++ Machine
- PDepend Channel (pear.pdepend.org)
- pdepend/PHP_Depend >= 0.10.0
- Phing Channel (pear.phing.info)
- phing/Phing >= 2.4.0
- PHPMD Channel (pear.phpmd.org)
- phpmd/PHP_PMD >= 1.1.0
- PHPUnit Channel (pear.phpunit.de)
- phpunit/PHPUnit >=3.5.0
- phpunit/PHP_CodeBrowser >= 1.0.0
- phpunit/phpcpd >= 1.3.0
- phpunit/phploc >= 1.6.0
- PHP-Tools Channel (pear.php-tools.net)
- pat/vfsStream >= 0.8.0
- Default Pear Channel
- pear/PHP_CodeSniffer >= 1.3.0
- pear/PHP_UML >= 1.5.0
Where To Install Crypt Library C Mac Youtube
Note: You can install all of them with the following commands:
Where To Install Crypt Library C Mac Pro
##PHP Dependencies
Where To Install Crypt Library C Mac And Cheese
- PHP >= 5.3.2
php.ini
Settings:phar.readonly = Off
- PHP Extensions
- XDebug
- MCrypt
- Hash (usually enabled)
- Phar
- Zip (For Packaging)
- BZ2 (For Packaging)
- XSL (For Documentation)