INNER CODE UNIT · Go

IDFromString

Consensys/gnark-crypto · ecc/ecc_field.go:124

func IDFromString(s string) (ID, error) {
	s = strings.ToLower(s)
	if id, ok := mID[s]; ok {
		return id, nil
	}
	return UNKNOWN, errors.New("unknown curve ID")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…