A hashing algorithm based on sponge structure