Skip to content

Cisco Type 7 Decoder

Type 7 is obfuscation, not encryption: a fixed-key Vigenère that any tool reverses in a millisecond. This page exists for the moment you inherit a config and need the enable password back, not as a security feature. Everything runs in your browser.

LineType 7Decoded
Encodefor lab configs only
Type 7

What to use instead

TypeAlgorithmVerdict
0plain textnever
7fixed-key XORreversible, this page
5MD5 cryptlegacy, crackable offline
4single SHA-256, no saltworse than 5, avoid
8PBKDF2-SHA256good
9scryptbest
! Store the enable secret and local users with scrypt
enable algorithm-type scrypt secret S3cr3tPassw0rd
username admin algorithm-type scrypt secret S3cr3tPassw0rd

! Hide any remaining type 0 strings as type 7 (still not safe, but not plain text)
service password-encryption

Warning

service password-encryption only produces type 7. Anything that must stay secret (enable, local users, TACACS/RADIUS keys where the platform allows) should be a type 8/9 secret or live in a key chain with key-string 8|9.

Last updated on