Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async cert(schema, data): Promise {
const cert = new Cert({
schema: schema
});
const cleanData = this.cleanObject(data);
const certif = await cert.imprint(cleanData);
return "0x" + certif;
}