Hi All,

I'm trying to work out what encryption algorithm is used for encrypting a password. This is just to develop a tool for accessing the password when the user has forgotten the password.

I will give you a few examples of the inputs and outputs.

Could someone please point me in the right direction as to whether a known algortithm is used for this ?

Input -> Output

abcd -> 163138183151

ABCD -> 163138183151

abcdefgh -> 176143145138121130125166

ABCDEFGH -> 176143145138121130125166

abcdefghijkl - > 119141116117134157185155131162

ABCDEFGHIJKL-> 119141116117134157185155131162

1234 -> 115090135103

12345 -> 118128071086078

123456 -> 122088085132094138

1234567 -> 125127091107119075122

12345678- > 128095097090073082077118

123456789-> 132126111135090088109131124

12345pass -> 132126111135090146151190182

abc123 -> 170136133129091135

sean -> 181141181161

Hello -> 173179128142136

seanSeanSEAN- > 137144114127148156179161141157

abcxyz-> 170136133200162206

What I have worked out so far is that it is not case sensitive (you get the same values for uppercase and lowercase words) and each character is represented in a 3 digit code.

Please refer below

ABCD -> 163 138 183 151

ABCDEFGH -> 176 143 145 138 121 130 125 166

Your responses will be greatly appreciated ....

--

here is a simpler algorithm for you to code

use the a table

a-> 153

aa -> 157138

aaa -> 160168166

...

deduce the table for ascii code 0 (ie null character) for each possible length

(by removing 97 which is ascii code for a from each group)

spaces are here for readability but these are numbers

1 -> 066

2 -> 060 041

3 -> 063 071 069

(beware i'm sticking leading zeros but the number is decimal and not octal)

then the algorithm is simpler : substract the number corresponding to the input length and you're left with the ascii codes of the plain text

for example : bb -> 158139

158139-060041=98098

then each 3 digits group is an ascii code

098 098 -> b b

this should be trivial to code whatever the language as long as it can handle big numbers and you're careful that leading zeros don't make it interpret numbers as octal