swiper
Functions
swiper Namespace Reference

swiper manages legacy Cisco type 7 passwords. More...

Functions

void Decrypt (uint8_t *password, size_t hash_len, const uint8_t *hash) noexcept
 Decrypt reverses Cisco type 7 hashes. More...
 

Detailed Description

swiper manages legacy Cisco type 7 passwords.

Function Documentation

◆ Decrypt()

void swiper::Decrypt ( uint8_t *  password,
size_t  hash_len,
const uint8_t *  hash 
)
noexcept

Decrypt reverses Cisco type 7 hashes.

Parameters
passwordout buffer, min hash_len / 2 - 2 characters, non-null terminated
hash_lenstring length of hash
hashCisco type 7 hash, uppercase, min length 4