extensions/microsoft-authentication/src/env/node/sha256.ts/sha256
export async function sha256(s: string | Uint8Array): Promise<string> {
	return (require('crypto')).createHash('sha256').update(s).digest('base64');
}