{"id":65095,"library":"dgryski-go-rc2","title":"Go RC2","description":"Implements the RC2 symmetric cipher as specified in RFC 2268.","status":"active","version":"0.0.0-20150621095337-8a9021637152","language":"go","source_language":null,"source_url":"https://github.com/dgryski/go-rc2","tags":["cipher","rc2","cryptography","rfc2268"],"install":[{"cmd":"go get github.com/dgryski/go-rc2","lang":"bash","label":"Install github.com/dgryski/go-rc2"}],"dependencies":[],"imports":[{"symbol":"rc2","correct":"github.com/dgryski/go-rc2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"crypto/cipher\"\n\t\"fmt\"\n\t\"github.com/dgryski/go-rc2\"\n)\n\nfunc main() {\n\tkey := []byte(\"secretkey\")\n\tblock, err := rc2.New(key)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"RC2 cipher created, block size:\", block.BlockSize())\n}","lang":"go","description":"Create an RC2 cipher block"},"warnings":[{"fix":"Use AES or ChaCha20 instead for new applications","message":"RC2 is considered weak and obsolete for modern cryptography","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2268':12 'cipher':7,13 'cryptographi':15 'go':1 'implement':3 'rc2':2,5,14 'rfc':11 'rfc2268':16 'specifi':9 'symmetr':6","created_at":"2026-06-17T17:04:30.838790+00:00","updated_at":"2026-06-17T17:04:30.838790+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dgryski/go-rc2","github":"https://github.com/dgryski/go-rc2","docs":"https://pkg.go.dev/github.com/dgryski/go-rc2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}