All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
RC4 is cryptographically broken and should not be used for secure applications. It is recommended to use an alternate algorithm instead.
c, _ := rc4.NewCipher(key) dst := make([]byte, len(key)) c.XORKeyStream(dst, src)