2011-01-26から1日間の記事一覧

NIST Special Publication 800-38A のテストベクトルを確認した

NIST Special Publication 800-38A の付録 F に記載されているテストベクトルを入力した.testNISTAESCBC256() に記述している. 実行結果 main.cpp // AES-CBC テストベクトル確認 // http://www.ipa.go.jp/security/rfc/RFC3602JA.html#4 #include <iostream> #inclu</iostream>…

テストベクトル#2を確認した

bytePrinter::print() は unsigned char * 配列か std::vector を入力して,16進数文字列を出力する.hexstring2bin::convert() は 16進数文字列(std::string)を入力して,std::vecotr を出力する.暗号化後のデータも,復号化後のデータも文書 The AES-CB…