I can't figure this one out. I've done some searching and found a list of supported algos at https://deno.land/[email protected]/crypto/mod.ts
See anything I'm doing wrong? I tried it without the hash as well. Here's a snippet:
/* supabase edge function */
import { crypto } from 'https://deno.land/[email protected]/crypto/mod.ts'
const cryptokey = await crypto.subtle.importKey('spki', encoded_plain_key, 'SHA-512', false, ['sign'])