// Example vectors from NIST Special Publication 800-38A
// Recommentation for Block Cipher Modes of Operation
//
// format for each vector entry is as follows:
// mode,encrypt/decrypt,key,initialization vector
// number of blocks
// (for each block) input,output
// All key, IV, input, and output values are encoded in Base64
//
ECB,Encrypt,K34VFiiu0qar9xWICc9PPA==,
4
a8G+4i5An5bpPX4Rc5MXKg==,Otd7tA16NmConsrzJGbvlw==
ri2KVx4DrJyet2+sRa+OUQ==,9dPVhQO5aZ3nhYlalv26rw==
MMgcRqNc5BHl+8EZGgpS7w==,Q7HNf1mOziOIGwDj7QMGiA==
9p8kRd9PmxetK0F75mw3EA==,ewx4XiforT+CIyBxBHJd1A==
ECB,Decrypt,K34VFiiu0qar9xWICc9PPA==,
4
Otd7tA16NmConsrzJGbvlw==,a8G+4i5An5bpPX4Rc5MXKg==
9dPVhQO5aZ3nhYlalv26rw==,ri2KVx4DrJyet2+sRa+OUQ==
Q7HNf1mOziOIGwDj7QMGiA==,MMgcRqNc5BHl+8EZGgpS7w==
ewx4XiforT+CIyBxBHJd1A==,9p8kRd9PmxetK0F75mw3EA==
ECB,Encrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,
4
a8G+4i5An5bpPX4Rc5MXKg==,vTNPHW5F8l/3EqIUVx+lzA==
ri2KVx4DrJyet2+sRa+OUQ==,l0EEhG0K0613NOyz7O5O7w==
MMgcRqNc5BHl+8EZGgpS7w==,73r9InDi5grc4LovrOZETg==
9p8kRd9PmxetK0F75mw3EA==,mktBunONbHL7FmkWA8GODg==
ECB,Decrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,
4
vTNPHW5F8l/3EqIUVx+lzA==,a8G+4i5An5bpPX4Rc5MXKg==
l0EEhG0K0613NOyz7O5O7w==,ri2KVx4DrJyet2+sRa+OUQ==
73r9InDi5grc4LovrOZETg==,MMgcRqNc5BHl+8EZGgpS7w==
mktBunONbHL7FmkWA8GODg==,9p8kRd9PmxetK0F75mw3EA==
ECB,Encrypt,YD3rEBXKcb4rc67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==,AA==
AQ==,AQ==
AA==,AA==
AQ==,AQ==
AQ==,AA==
AQ==,AQ==
AQ==,AA==
AA==,AQ==
AA==,AQ==
AA==,AA==
AA==,AA==
AA==,AQ==
AQ==,AQ==
CFB1,Decrypt,K34VFiiu0qar9xWICc9PPA==,AAECAwQFBgcICQoLDA0ODw==
16
AA==,AA==
AQ==,AQ==
AQ==,AQ==
AA==,AA==
AQ==,AQ==
AA==,AA==
AA==,AQ==
AA==,AQ==
AQ==,AQ==
AA==,AQ==
AQ==,AA==
AQ==,AA==
AA==,AA==
AA==,AA==
AQ==,AA==
AQ==,AQ==
CFB1,Encrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,AAECAwQFBgcICQoLDA0ODw==
16
AA==,AQ==
AQ==,AA==
AQ==,AA==
AA==,AQ==
AQ==,AA==
AA==,AA==
AQ==,AQ==
AQ==,AQ==
AQ==,AA==
AQ==,AQ==
AA==,AA==
AA==,AQ==
AA==,AQ==
AA==,AA==
AA==,AA==
AQ==,AQ==
CFB1,Decrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,AAECAwQFBgcICQoLDA0ODw==
16
AQ==,AA==
AA==,AQ==
AA==,AQ==
AQ==,AA==
AA==,AQ==
AA==,AA==
AQ==,AQ==
AQ==,AQ==
AA==,AQ==
AQ==,AQ==
AA==,AA==
AQ==,AA==
AQ==,AA==
AA==,AA==
AA==,AA==
AQ==,AQ==
CFB1,Encrypt,YD3rEBXKcb4rc67whX13gR81LAc7YQjXLZgQowkU3/Q=,AAECAwQFBgcICQoLDA0ODw==
16
AA==,AQ==
AQ==,AA==
AQ==,AA==
AA==,AQ==
AQ==,AA==
AA==,AA==
AQ==,AA==
AQ==,AA==
AQ==,AA==
AQ==,AA==
AA==,AQ==
AA==,AA==
AA==,AQ==
AA==,AA==
AA==,AA==
AQ==,AQ==
CFB1,Decrypt,YD3rEBXKcb4rc67whX13gR81LAc7YQjXLZgQowkU3/Q=,AAECAwQFBgcICQoLDA0ODw==
16
AQ==,AA==
AA==,AQ==
AA==,AQ==
AQ==,AA==
AA==,AQ==
AA==,AA==
AA==,AQ==
AA==,AQ==
AA==,AQ==
AA==,AQ==
AQ==,AA==
AA==,AA==
AQ==,AA==
AA==,AA==
AA==,AA==
AQ==,AQ==
CFB8,Encrypt,K34VFiiu0qar9xWICc9PPA==,AAECAwQFBgcICQoLDA0ODw==
18
aw==,Ow==
wQ==,eQ==
vg==,Qg==
4g==,TA==
Lg==,nA==
QA==,DQ==
nw==,1A==
lg==,Ng==
6Q==,ug==
PQ==,zg==
fg==,ng==
EQ==,Dg==
cw==,1A==
kw==,WA==
Fw==,ag==
Kg==,Tw==
rg==,Mg==
LQ==,uQ==
CFB8,Decrypt,K34VFiiu0qar9xWICc9PPA==,AAECAwQFBgcICQoLDA0ODw==
18
Ow==,aw==
eQ==,wQ==
Qg==,vg==
TA==,4g==
nA==,Lg==
DQ==,QA==
1A==,nw==
Ng==,lg==
ug==,6Q==
zg==,PQ==
ng==,fg==
Dg==,EQ==
1A==,cw==
WA==,kw==
ag==,Fw==
Tw==,Kg==
Mg==,rg==
uQ==,LQ==
CFB8,Encrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,AAECAwQFBgcICQoLDA0ODw==
18
aw==,zQ==
wQ==,og==
vg==,Ug==
4g==,Hg==
Lg==,8A==
QA==,qQ==
nw==,BQ==
lg==,yg==
6Q==,RA==
PQ==,zQ==
fg==,BQ==
EQ==,fA==
cw==,vw==
kw==,DQ==
Fw==,Rw==
Kg==,oA==
rg==,Zw==
LQ==,ig==
CFB8,Decrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,AAECAwQFBgcICQoLDA0ODw==
18
zQ==,aw==
og==,wQ==
Ug==,vg==
Hg==,4g==
8A==,Lg==
qQ==,QA==
BQ==,nw==
yg==,lg==
RA==,6Q==
zQ==,PQ==
BQ==,fg==
fA==,EQ==
vw==,cw==
DQ==,kw==
Rw==,Fw==
oA==,Kg==
Zw==,rg==
ig==,LQ==
CFB8,Encrypt,YD3rEBXKcb4rc67whX13gR81LAc7YQjXLZgQowkU3/Q=,AAECAwQFBgcICQoLDA0ODw==
18
aw==,3A==
wQ==,Hw==
vg==,Gg==
4g==,hQ==
Lg==,IA==
QA==,pg==
nw==,TQ==
lg==,tQ==
6Q==,Xw==
PQ==,zA==
fg==,ig==
EQ==,xQ==
cw==,VA==
kw==,hA==
Fw==,Tg==
Kg==,iA==
rg==,lw==
LQ==,AA==
CFB8,Decrypt,YD3rEBXKcb4rc67whX13gR81LAc7YQjXLZgQowkU3/Q=,AAECAwQFBgcICQoLDA0ODw==
18
3A==,aw==
Hw==,wQ==
Gg==,vg==
hQ==,4g==
IA==,Lg==
pg==,QA==
TQ==,nw==
tQ==,lg==
Xw==,6Q==
zA==,PQ==
ig==,fg==
xQ==,EQ==
VA==,cw==
hA==,kw==
Tg==,Fw==
iA==,Kg==
lw==,rg==
AA==,LQ==
CFB128,Encrypt,K34VFiiu0qar9xWICc9PPA==,AAECAwQFBgcICQoLDA0ODw==
4
a8G+4i5An5bpPX4Rc5MXKg==,Oz/ZLrctrSAzNEn46Dz7Sg==
ri2KVx4DrJyet2+sRa+OUQ==,yKZFN6CzqT/N482tnxzliw==
MMgcRqNc5BHl+8EZGgpS7w==,JnUfZ6PLsUCxgIzxh6T03w==
9p8kRd9PmxetK0F75mw3EA==,wEsFNXxdHA7qxMZvn/fy5g==
CFB128,Decrypt,K34VFiiu0qar9xWICc9PPA==,AAECAwQFBgcICQoLDA0ODw==
4
Oz/ZLrctrSAzNEn46Dz7Sg==,a8G+4i5An5bpPX4Rc5MXKg==
yKZFN6CzqT/N482tnxzliw==,ri2KVx4DrJyet2+sRa+OUQ==
JnUfZ6PLsUCxgIzxh6T03w==,MMgcRqNc5BHl+8EZGgpS7w==
wEsFNXxdHA7qxMZvn/fy5g==,9p8kRd9PmxetK0F75mw3EA==
CFB128,Encrypt,jnOw99oOZFLIEPMrgJB55WL46tJSLGt7,AAECAwQFBgcICQoLDA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