ripemd160
ripemd160 laskee arvon Ripemd160-tiivisteen.
Syötteet
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | buffer | array[buffer] | Tiivistettävä hex-koodattu arvo |
Tuloste
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | string | Tiivistetty tulos |
output "hashed_data" {value = ripemd160(encode_hex("hello, world"))}// > hashed_data: 0XA3201F82FCA034E46D10CD7B27E174976E241DA2
sha256
sha256 laskee arvon sha256-tiivisteen.
Syötteet
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | buffer | array[buffer] | Tiivistettävä hex-koodattu arvo |
Tuloste
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | string | Tiivistetty tulos |
output "hashed_data" {value = sha256(encode_hex("hello, world"))}// > hashed_data: 0x09ca7e4eaa6e8ae9c7d261167129184883644d07dfba7cbfbc4c8a2e08360d5b
keccak256
std::keccak256 laskee arvon keccak256-tiivisteen.
Syötteet
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | string | Tiivistettävä merkkijonoarvo |
Tuloste
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
value | string | Tiivistetty tulos |
output "hashed_data" {value = keccak256("hello, world")}// > hashed_data: 0x09ca7e4eaa6e8ae9c7d261167129184883644d07dfba7cbfbc4c8a2e08360d5b
Is this page helpful?