Support obfuscated2

This commit is contained in:
9seconds
2021-03-18 13:42:14 +03:00
parent 657a74a5c2
commit 58335b3e59
7 changed files with 225 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
package obfuscated2
import (
"crypto/aes"
"crypto/cipher"
)
func makeAesCtr(key, iv []byte) cipher.Stream {
block, err := aes.NewCipher(key)
if err != nil {
panic(err)
}
return cipher.NewCTR(block, iv)
}