@Override
    public int hashCode() {
        return Arrays.hashCode(NativeCrypto.EVP_marshal_public_key(key.getNativeRef()));
    }
An implementation of a {@link java.security.PublicKey} for EC keys based on BoringSSL.
common/src/main/java/org/conscrypt/OpenSSLECPublicKey.java