Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Example01 ¶
func Example01()
共通鍵暗号方式 ブロック暗号化方式の AES 16byteの固定視長の平文しか暗号化できず使えない See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example02 ¶
func Example02()
共通鍵暗号方式 ブロック暗号化方式の AES CBC モード See Go 言語で学ぶ『暗号技術入門』Part 3 -CBC Mode-: https://skatsuta.github.io/2016/03/06/hyuki-crypt-book-go-3/
func Example03 ¶
func Example03()
共通鍵暗号方式 ブロック暗号化方式の AES CTR モード だから ストリーム暗号とみなせる See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example04 ¶
func Example04()
公開鍵暗号方式 RSA-PKCS1v15 で暗号化 See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example05 ¶
func Example05()
ハッシュ SHA-2 の SHA-512 See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example06 ¶
func Example06()
メッセージ認証コード(MAC) 否認ができず 送信者の証明ができない See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example07 ¶
func Example07()
デジタル署名 公開鍵暗号の応用なため 今回は 楕円曲線暗号 を使う See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example08 ¶
func Example08()
証明書(x509) 自己署名証明書を作ってみる 公開鍵暗号としては楕円曲線暗号を使い PEM形式でファイルに保存する(ca.pem) 証明書の検証はしてない See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example09 ¶
func Example09()
TLS See Go言語と暗号技術(AESからTLS): https://deeeet.com/writing/2015/11/10/go-crypto/
func Example10 ¶
func Example10()
パスワード salt という 複数回ハッシュ化する かつ rainbow table 対策 See パスワードの保存: https://astaxie.gitbooks.io/build-web-application-with-golang/content/ja/09.5.html
Types ¶
This section is empty.