Search code examples
algorithmhashciscocisco-ios

What is Decryption algorithm for Cisco Type 7?


I want the algorithm for cisco type 7 encryption and decryption. On searching, I found out that it uses Vigenere cipher encryption but it won't work. Please anybody help me out. If I found some small lead then also it will be good.

Thank You.


Solution

  • The algorithm is published in a Global Information Assurance Certification (GIAC) Paper titled "Cisco IOS type 7 password vulnerability." SANS Submission date September 24, 2000. https://www.giac.org/paper/gcih/84/cisco-ios-type-7-password-vulnerability/100566

    There is an even better description of the algorithm in the PassLib documentation page titled "Cisco “Type 7” hash." https://passlib.readthedocs.io/en/stable/lib/passlib.hash.cisco_type7.html