/**
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*/
import Operation from "../Operation";
import {runHash} from "../lib/Hash";
/**
* Whirlpool operation
*/
class Whirlpool extends Operation {
/**
* Whirlpool constructor
*/
constructor() {
super();
this.name = "Whirlpool";
this.module = "Hashing";
this.description = "Whirlpool is a cryptographic hash function designed by Vincent Rijmen (co-creator of AES) and Paulo S. L. M. Barreto, who first described it in 2000.
Several variants exist: