Thats called a one way hash.
One way because the generated sequence can not be used to recreate the original data