Changed the declaration to the types of each function, based in the Mozilla documentation.
The link of the documentation https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto
The link of the documentation https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto