Sorry in advance for my poor English & this question might be off-topic.
I would like to know the best function for countermeasure of password cracking.
Setting each Password in each web service is not easy way. Same Password in each web service is not safe way.
So I wonder just memorizing the function and calculating password each time in each site is good way.
Specifically, we will deal with this method like this.
Input value are a name of web service & count of its name.For Unity, we adopt the name from domain.
Example web service: https://google.com
Input value x: google (String Type)
Input value y: 6 (count Number of domain name,Number Type)
or x should change some yourmasterword+domainname,as mr.orion suggested.
- function is something like this.(this is just a example)
$$ f(x,y)= (x−2)/2 +4y$$
The rule of four arithmetic operations of x(string value) is as follows.
addition:(x+x) → googlegoogle (x+y)→google6 (x+2)→ emmejc
subtraction:(x-x)→none or 0 (x-y)→6google (x-2)→iqqing
multiplication:(x × x)→googlegoogle (x × y)→google6 (x × 2)→ google2
division:(x÷x)→1 (x÷y)→1 (x÷2)→goog
✴︎Addition or Subtraction of stringType with number is to aim for distributing of letter.This action proceed to the front(add) and back(sub) in alphabetical order.
4.So you just remember the function and when you go to website you calculate.
$$ f(x,y)= (x−2)/2 +4y$$
[google → (iqqing)/2 +24= iggi24]
[Apple → (ynnng)/2 + 20 = ynn20]
[Netflix → (lgrdjgv)/2+28 = lgrdj28]
Infact ,these webSite require 8~20 characters. So function must contain String-type multiplication.
Again I want to know the function type that easy to calculate, easy to memory, return high-entropy values. Is that algebraic equation?
(I know the existence of password management soft.But I think increasing options is good.)
It sounds like you're just looking for hashing algorithms, like MD5. For example, the MD5 of
googleisC822C1B63853ED273B89687AC505F9FA. You can try it here.