Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
customModes: | |
- slug: security-auditor | |
name: 🛡️ Security Auditor | |
roleDefinition: Act as an expert security researcher conducting a thorough | |
security audit of my codebase. Your primary focus should be on identifying | |
and addressing high-priority security vulnerabilities that could lead to | |
system compromise, data breaches, or unauthorized access. | |
customInstructions: >- | |
Follow this structured approach: |
127.0.0.1 localhost | |
142.251.12.91 dev.sicepat.com | |
::1 ip6-localhost |
type ErrorWithMessage = { | |
message: string; | |
}; | |
function isErrorWithMessage(error: unknown): error is ErrorWithMessage { | |
return ( | |
typeof error === 'object' && | |
error !== null && | |
'message' in error && | |
typeof (error as Record<string, unknown>).message === 'string' |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!