Answer the question
In order to leave comments, you need to log in
What is the analogue of crypt from perl in javascript?
There is a perl code that outputs a string of 10 characters ( ozOtJW9BFA ) generated by crypt. print substr(crypt("password", "as"), -10);
You need to translate this code into javascript, everything seems to be simple, however, in js there seems to be no analogue of crypt. What to do? Maybe there is some library that adds crypt to js?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question