Skip to content

Instantly share code, notes, and snippets.

View MaJloe3Jlo's full-sized avatar
📱
Hello, gopher! 👨‍💻

Dmitriy Klestov MaJloe3Jlo

📱
Hello, gopher! 👨‍💻
View GitHub Profile
@DeanThompson
DeanThompson / ecb.go
Last active February 12, 2023 05:10
Golang AES ecb mode
package utils
import "crypto/cipher"
type ecb struct {
b cipher.Block
blockSize int
}
func newECB(b cipher.Block) *ecb {