Git Product home page Git Product logo

cryptolib4pascal's Introduction

CryptoLib4Pascal: Crypto for Modern Object Pascal License

CryptoLib4Pascal is an Object Pascal cryptographic library released under the permissive MIT License.

CryptoLib4Pascal's goal is to be the best option for cryptography in Object Pascal by offering cryptographic recipes and primitives to Object Pascal developers.

Development is coordinated on GitHub and contributions are welcome. If you need help, please open an issue here.

Available Algorithms

Symmetric Encryption


Block Ciphers
  • AES (128, 192, and 256)

  • Rijndael

  • Blowfish

  • Speck

Stream Ciphers
  • ChaCha

  • (X)Salsa20

Block Cipher Modes Of Operation

  • ECB

  • CBC

  • CFB

  • CTR

  • CTS

  • OFB

  • SIC

Block Cipher Padding Schemes

  • ISO 10126-2

  • ISO 7816-4

  • Bit (ISO/IEC 9797-1)

  • PKCS#5

  • PKCS#7

  • TBC (Trailing Bit Complement)

  • ANSI X9.23

  • Zero

Asymmetric Cryptography


  • DSA

  • (DET)ECDSA (supported curves: NIST, X9.62, SEC2, Brainpool)

  • ECNR

  • ECSchnorr

  • EdDSA (Ed25519, Ed25519Blake2B)

Key Agreement/Exchange


  • DH

  • ECDH

  • ECDHC

  • X25519

Key Derivation Functions


  • HKDF

  • KDF1

  • KDF2

Password Hashing Schemes (Password Based Key Derivation Functions)

  • PBKDF2

  • Argon2 (2i, 2d and 2id variants)

  • Scrypt

MAC


  • HMAC (all supported hashes)

  • KMAC (KMAC128, KMAC256)

Hashes


  • MD2

  • MD4

  • MD5

  • SHA-1

  • SHA-2 (224, 256, 384, 512, 512-224, 512-256)

  • Gost3411

  • Gost3411-2012 (256, 512)

  • RIPEMD (128, 160, 256, 256, 320)

  • Tiger

  • WhirlPool

  • Blake2B (160, 256, 384, 512)

  • Blake2S (128, 160, 224, 256)

  • SHA-3 (224, 256, 384, 512)

  • Keccak (224, 256, 288, 384, 512)

XOF (Extendable Output Function)


  • Shake (Shake-128, Shake-256)

Other Useful Things


  • RNG wrappers for system RNG

  • ASN1 Parsing Utilities

  • Base Encoding and Decoding Utilities

Compile-Time Dependencies


Supported Compilers


  • FreePascal 3.2.0+

  • Delphi Tokyo+

Supported / Tested OSes


Tested OS boxes are checked

    • Windows XP+
    • Linux (Including Android and Raspberry PI)
    • Mac OS X
    • iOS 2.0+
    • (Oracle) Solaris
    • OpenBSD
    • FreeBSD
    • NetBSD
    • DragonFlyBSD

Acknowledgements


Tip Jar


  • ๐Ÿ’ต Bitcoin: 1MhFfW7tDuEHQSgie65uJcAfJgCNchGeKf
  • ๐Ÿ’ถ Ethereum: 0x6c1DC21aeC49A822A4f1E3bf07c623C2C1978a98
  • ๐Ÿ’ท Pascalcoin: 345367-40

cryptolib4pascal's People

Contributors

xor-el avatar tondrej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.