Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

AES GCM Encryption #220

Merged
merged 2 commits into from
Apr 26, 2017
Merged

AES GCM Encryption #220

merged 2 commits into from
Apr 26, 2017

Conversation

gambol99
Copy link
Contributor

  • switching to gcm and the cipher package for encryption
  • switching to hex encoding (base16) vs base64

=== OLD ===
BenchmarkEncryptDataBlock-8 500000 2585 ns/op
BenchmarkEncodeText-8 500000 3436 ns/op
BenchmarkDecodeText-8 500000 2911 ns/op
BenchmarkContainsSubString-8 200000000 8.85 ns/op

=== NEW ===
BenchmarkEncryptDataBlock-8 500000 2202 ns/op
BenchmarkEncodeText-8 500000 3343 ns/op
BenchmarkDecodeText-8 1000000 2130 ns/op
BenchmarkContainsSubString-8 200000000 8.25 ns/op

- switching to gcm and the cipher package for encryption
- switching to hex encoding (base16) vs base64

=== OLD ===
BenchmarkEncryptDataBlock-8       500000        2585 ns/op
BenchmarkEncodeText-8             500000        3436 ns/op
BenchmarkDecodeText-8             500000        2911 ns/op
BenchmarkContainsSubString-8    200000000          8.85 ns/op

=== NEW ===
BenchmarkEncryptDataBlock-8    	  500000	      2202 ns/op
BenchmarkEncodeText-8          	  500000	      3343 ns/op
BenchmarkDecodeText-8          	 1000000	      2130 ns/op
BenchmarkContainsSubString-8   	200000000	         8.25 ns/op
@gambol99 gambol99 self-assigned this Apr 26, 2017
- adding the updated testify and require package
@gambol99 gambol99 merged commit befc0fb into master Apr 26, 2017
@gambol99 gambol99 deleted the aes_encryption branch April 26, 2017 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant