Identity Profiles
Identity Profiles allow users to hide their Genesis Identifier during interactions. Instead, users will be identified by their Identity Profile.
An Identity Profile is generated by hashing the id with a profileNonce (a random number generated by the identity owner).
profileHash = hash(genesisId, profileNonce)
profileId = idType + profileHashCut + checksum
package main
import (
"fmt"
"math/big"
core "github.com/iden3/go-iden3-core"
)
// Generate Identity Profile from Genesis Identifier
func main() {
id, _ := core.IDFromString("11BBCPZ6Zq9HX1JhHrHT3QKUFD9kFDEyJFoAVMptVs")
profile, _ := core.ProfileID(id, big.NewInt(50))
fmt.Println(profile.String())
}