Libre SHA256 HMAC?

For my app, I need to calculate SHA256 HMAC hashes. It is very important to me to not use proprietary extensions. Is there any way to do this either with a libre extension or in some other way?

You can probably use JavaScript with a webviewer if working with strings...

You could also use android's linux shell