1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85020],{85020:function(e,t,r){r.d(t,{Ii:function(){return i},decryptSecret:function(){return c}});var n=r(68989),o=r(40257),u=r(82957).Buffer;function c(e,t){if(!e)return null;let r=e.split(":");if(4!==r.length||"v1"!==r[0])throw Error("Onbekend secret-vault format: ".concat(r[0]));let[,c,i,f]=r,a=function(){let e=o.env.SECRET_VAULT_KEY||o.env.COOKIE_VAULT_KEY;if(e){let t=u.from(e,"base64");if(32!==t.length)throw Error("SECRET_VAULT_KEY moet ".concat(32," bytes (base64) zijn, kreeg ").concat(t.length));return t}throw Error("SECRET_VAULT_KEY is niet gezet in productie. Genereer met: node -e \"console.log(require('crypto').randomBytes(32).toString('base64'))\"")}(),l=u.from(c,"base64"),s=u.from(i,"base64"),E=u.from(f,"base64"),h=(0,n.createDecipheriv)("aes-256-gcm",a,l);return h.setAAD(u.from(t||"_global","utf8")),h.setAuthTag(s),u.concat([h.update(E),h.final()]).toString("utf8")}function i(e,t){if(!e)return null;if(e.startsWith("v1:")&&4===e.split(":").length)try{return c(e,t)}catch(e){return null}return e}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.