본문 바로가기

프로그래밍 검색 블로그

검색하기
프로그래밍 검색 블로그
프로필사진 코딩조무사

  • 분류 전체보기 (82)
    • program (1)
    • 연습장 (8)
    • C++ 유틸 (7)
    • C++ 패턴 (3)
    • C++자료구조 (1)
    • C++ ranges (28)
    • 함수형 프로그래밍 (1)
    • clojure기초 (22)
    • Android (6)
    • go (4)
    • python (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Tags
  • Observer
  • RAII
  • design pattern
  • stringprintf
  • type_traits
  • sprintf
  • AES
  • async
  • Android
  • SHA1
  • kotlin
  • Functional
  • Clojure
  • Reflect
  • web
  • haskell
  • sha256
  • go
  • WebView
  • c++
  • traits
  • SHA512
  • Scala
  • Chrono
  • CustomTab
  • template
  • coroutines
  • program
  • ranges
  • ChromeTab
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록AES (1)

프로그래밍 검색 블로그

go AES 암호화

package main import ( "crypto/aes" "crypto/cipher" "crypto/rand" "encoding/base64" "fmt" "io" ) type AESCipher struct { block cipher.Block } func NewAesCipher(key []byte) (*AESCipher, error) { block, err := aes.NewCipher(key) if err != nil { return nil, err } return &AESCipher{block}, nil } func (a *AESCipher) EncryptString(s string) string { byteString := []byte(s) encryptByteArray := make([]by..

go 2018. 5. 22. 14:05
Prev 1 Next

Blog is powered by AXZ / Designed by Tistory

티스토리툴바