]> Cypherpunks repositories - gostls13.git/commit
crypto/des: add an example to demonstrate EDE2 operation.
authorAdam Langley <agl@golang.org>
Sat, 22 Dec 2012 15:50:11 +0000 (10:50 -0500)
committerAdam Langley <agl@golang.org>
Sat, 22 Dec 2012 15:50:11 +0000 (10:50 -0500)
commit8f1d170fc6758842a1dc89075a050716fa4dc6c3
tree2d865c1e63cf1f689ea5ec3c025ec0f91534ec56
parentd324c4af87f0c2e41f2822438594d39c90bb0fba
crypto/des: add an example to demonstrate EDE2 operation.

EDE2 is a rare DES mode that can be implemented with crypto/des, but
it's somewhat non-obvious so this CL adds an example of doing so.

Fixes #3537.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/6721056
src/pkg/crypto/des/des_test.go