Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.49 KB

ENCRYPTION.md

File metadata and controls

37 lines (28 loc) · 1.49 KB

Readme | Installation | Requirements | Configuration | Security | Compression | Encryption | Examples | Contributing


Encryption/Decrption

Create public/private key

In order to initially generate the public/private keys, use the bundles shell script create-keypair.sh. This creates a 2048bit pair as follows:

openssl req -x509 -nodes -newkey rsa:2048 \
	-keyout mysqldump-secure.priv.pem \
	-out mysqldump-secure.pub.pem

Key performance

You can test the performance on your target machine yourself with:

openssl speed rsa512

Values on my machine are

rsa 512 rsa 1024 rsa 2048 rsa 4096
# of sign/s 6,878.4 2,075.8 398.8 66.4
# of verify/s 99,898.4 42,966.3 15,396.4 4,751.5