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