syncrypto | Two-way synchronization between a folder and its ciphertext | Data Processing library
kandi X-RAY | syncrypto Summary
kandi X-RAY | syncrypto Summary
Two-way synchronization between a folder and its ciphertext
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Change the encrypted password
- Decrypt the contents of a file
- Loads encrypted tree
- Ensures a directory exists
- Sync the folder contents
- Synchronize the folder
- Compares and returns the differences between two files
- Compare two file entries
- Decrypt encrypted file
- Generate a temporary path
- Decrypts encrypted file
- Get a password
syncrypto Key Features
syncrypto Examples and Code Snippets
Community Discussions
Trending Discussions on syncrypto
QUESTION
SynCrypto is a open source library for data encryption included in this pack.
In this unit (SynCrypto.pas) is the following comment at the begining of file:
AES128 cypher 84 MB/s uncypher 81 MB/s asm version
AES128 cypher 57 MB/s uncypher 57 MB/s pascal version
AES192 cypher 72 MB/s uncypher 70 MB/s asm version
AES192 cypher 48 MB/s uncypher 48 MB/s pascal version
AES256 cypher 62 MB/s uncypher 61 MB/s asm version
AES256 cypher 42 MB/s uncypher 42 MB/s pascal version
From this I understand that are two versions of code: pascal-slower and asm-faster. But the problem is, how can I select between these two ?
Edit: And a secondary question, if you allow me: how cand I select the bitwidth of the key: 128, 192 and 256 ?
I use this code to encrypt and decrypt:
...ANSWER
Answered 2017-Jul-27 at 14:31Short answer: the fastest code will always be used for you, depending on the compiler and computer.
Long answer:
There is only a single code version compiled at a time, either pascal or optimized asm. It depends on conditional defines when running in the unit, set automatically depending on your compiler version (from Delphi 5 up to latest Delphi or FPC revision), and CPU platform (if it has Intel or ARM). Then at runtime, on Intel, AES-NI hardware opcodes can be detected and used, or, on VIA, Padlock hardware opcodes. Even the pascal implementation may be rolled or unrolled.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install syncrypto
You can use syncrypto like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page