| View previous topic :: View next topic |
| Author |
Message |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Mon Aug 23, 2021 8:42 pm Post subject: Argon2 converter and reader |
|
|
Hiya folks, so i'm trying to develop a little bit of a Tcl pure thing more than 100% Eggdrop, but i'm thinking of a script which will convert a piece of text into Argon2 format and then paste into a txt file and also read from the text file to undo the Argon2 format back into normal text, thanks in advanced lads and lasses  _________________ ComputerTech |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Tue Aug 24, 2021 4:27 am Post subject: |
|
|
Argon2 is not reversible.
And I think you need a really high math level (maybe you have) to create the argon2 lib in tcl. _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Tue Aug 24, 2021 9:47 am Post subject: |
|
|
Ah i see, hm, what encryption could i use on Tcl then? i was trying to build a nick register for eggdrop similar to Anope services i'd rather not have to rely on the Eggdrop Blowfish encryption module for this either  _________________ ComputerTech |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Wed Aug 25, 2021 12:28 pm Post subject: |
|
|
What do you mean with "nick register for eggdrop" ?
Explain exactly what you want to do.
Is it a two-pass registration for the userlist ? with a confirm password before the user is activated ? _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Sat Aug 28, 2021 1:00 pm Post subject: |
|
|
Basically like if i use https://www.mkpasswd.net to make the password "foo" using hash-type crypt-blowfish, it makes.
| Code: |
$2y$12$h1Xgzv0uI8YD8kuJmi50YO6nAWHgti4nPp.r1W1criPDffhnNOgHW
|
Is it possible to use this in Tcl? i don't want to rely on Eggdrop to do this though, i'd rather use pure Tcl if possible
Thanks in advanced btw  _________________ ComputerTech |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
|
| Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Sat Aug 28, 2021 7:14 pm Post subject: |
|
|
Oh i see! thank you CrazyCat, i'll try play with that  _________________ ComputerTech |
|
| Back to top |
|
 |
|