Skip to content

VIP: Remove sha3 alias #1328

@jacqueswww

Description

@jacqueswww

Simple Summary

Remove the sha3 function, in favour of only using keccak256

Abstract

Remove the sha3 function, in favour of only using keccak256.

Motivation

keecak256 and sha3 are currently aliases of each, however talking in general and standardised terms keccak256 is not the same function as sha3, therefore the proposal to remove sha3 completely to avoid confusion.

Specification

A call to sha3:

sha3(val)

Will throw a compiler error, with a message "sha3 function has been deprecated in favour of keccak256".

Backwards Compatibility

This change is not backwards compatible.

Dependencies

None

Copyright

Copyright and related rights waived via CC0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions