Skip to content

UgnineSirdis/cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptography

Examples of code related to cryptography.

Builds for two versions of openssl: 1.1.1t and 3.3.1.

How to build and run

cd cryptography

# Build (for two versions of openssl)
$ bazel build //cipher:cipher-1.1.1t //cipher:cipher-3.3.1

# Run
# Default cipher test
$ ./bazel-bin/cipher/cipher-1.1.1t
$ ./bazel-bin/cipher/cipher-3.3.1

# Concrete cipher test
$ ./bazel-bin/cipher/cipher-1.1.1t chacha20-poly1305
$ ./bazel-bin/cipher/cipher-3.3.1 chacha20-poly1305

$ ./bazel-bin/cipher/cipher-1.1.1t aes-128-gcm
$ ./bazel-bin/cipher/cipher-3.3.1 aes-128-gcm

# Test not authenticated encryption modes
$ ./bazel-bin/cipher/cipher-1.1.1t AES-128-CTR AES-128-CBC --no-authenticated-encryption

Cipher names in openssl code

About

Examples of code related to cryptography

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published