# defender-security/6.2.4/assets/js/altcha.js

Defender Security – Malware Scanner, Login Security &amp; Firewall, version 6.2.4. 1 lines.

- Page: https://pluginprobe.com/plugins/defender-security/6.2.4/code/assets/js/altcha.js
- Raw: https://pluginprobe.com/plugins/defender-security/6.2.4/raw/assets/js/altcha.js
- Modified: 2026-07-28T07:24:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/defender-security/6.2.4/code/assets/js/altcha.js#L10-L20`.

```javascript
(()=>{"use strict";const n=new TextEncoder;function t(n){return[...new Uint8Array(n)].map(n=>n.toString(16).padStart(2,"0")).join("")}async function r(t,r){return crypto.subtle.digest(t.toUpperCase(),"string"==typeof r?n.encode(r):new Uint8Array(r))}async function e(n,e){return t(await r(n,e))}function o(n,t,r="SHA-256",o=1e6,a=0){const c=new AbortController,u=Date.now();return{promise:(async()=>{for(let i=a;i<=o;i+=1){if(c.signal.aborted)return null;if(await e(r,t+i)===n)return{number:i,took:Date.now()-u}}return null})(),controller:c}}jQuery(function(n){var t=n("#wd_agf_unlock_me"),r=n("#wd_agf_unlock_me_error");o(altcha.challenge,altcha.salt).promise.then(function(n){t.data("solution",n.number),t.attr("disabled",!1)}).catch(function(){r.show()})})})();
```
