{"id":35,"date":"2023-09-01T11:36:52","date_gmt":"2023-09-01T09:36:52","guid":{"rendered":"https:\/\/dycrypt.dylanwettstein.com\/?page_id=35"},"modified":"2023-09-02T22:16:54","modified_gmt":"2023-09-02T20:16:54","slug":"decrypt","status":"publish","type":"page","link":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/","title":{"rendered":"Decrypt"},"content":{"rendered":"    <div id=\"dycrypt-decrypt\">\n        <form id=\"decryptForm\" enctype=\"multipart\/form-data\">\n\t\t\t<p style=\"font-family: Fractul; font-weight: 800;\" class=\"has-x-large-font-size\">Please fill this out.<\/p>\n\t\t\t<label for=\"decryptFile\" style=\"font-family: Fractul;\">Select your encrypted file with the .dycrypt suffix.\n            <input type=\"file\" id=\"decryptFile\" name=\"decryptFile\" accept=\".dycrypt\" required>\n            <input type=\"text\" id=\"decryptKey\" name=\"decryptKey\" placeholder=\"dycrypt key (was provided upon encryption)\" required>\n\t\t\t<input type=\"email\" id=\"userEmail\" name=\"userEmail\" placeholder=\"Your E-Mail address\" required>\n\t\t\t<input type=\"email\" id=\"confirmEmail\" name=\"confirmEmail\" placeholder=\"Confirm E-Mail\" required>\n            <button type=\"submit\" id=\"decryptBtn\">Submit<\/button>\n\t\t\t<div class=\"loader\" id=\"loader\" style=\"display: none;\"><\/div>\n        <\/form>\n        <div id=\"decryptDebug\" style=\"margin-top: 20px; color: red; display: none\"><\/div>\n    <\/div>\n\n    <script>\n\t\tdocument.addEventListener('DOMContentLoaded', () => {\n\t\t\tconst decryptForm = document.getElementById('decryptForm');\n\t\t\tconst decryptDebug = document.getElementById('decryptDebug');\n\t\t\tconst decryptBtn = document.getElementById('decryptBtn');\n\t\t\tconst loader = document.getElementById('loader');\n\n\t\t\tdecryptForm.addEventListener('submit', async (e) => {\n\t\t\t\te.preventDefault();\n\n\t\t\t\t\/\/ Button ausblenden und Loader anzeigen\n\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: black; font-family: Fractul;\">Processing\u2026<\/t>';\n\t\t\t\tdecryptBtn.style.display = 'none';\n\t\t\t\tloader.style.display = 'grid';\n\t\t\t\tdecryptDebug.style.display = 'block';\n\n\t\t\t\tconst formData = new FormData(decryptForm);\n\t\t\t\tformData.append('userEmail', document.getElementById('userEmail').value);\n\t\t\t\tformData.append('confirmEmail', document.getElementById('confirmEmail').value);\n\t\t\t\tformData.append('action', 'decrypt_and_check_data');\n\n\t\t\t\tconst response = await fetch('\/wp-admin\/admin-ajax.php', {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tbody: formData\n\t\t\t\t});\n\n\t\t\t\tif (response.ok) {\n\t\t\t\t\tconst data = await response.json();\n\t\t\t\t\tif (data.message === 'Ending 1') {\n\t\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">Error processing file<\/t><br><t style=\"color: black; font-family: Fractul;\">Error: You have not provided a valid dycrypt key.<\/t>';\n\t\t\t\t\t\tdecryptBtn.style.display = 'grid';\n\t\t\t\t\t\tloader.style.display = 'none';\n\t\t\t\t\t} else if (data.message === 'Ending 2') {\n\t\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">Error processing file<\/t><br><t style=\"color: black; font-family: Fractul;\">Error: The uploaded file is invalid. It may have expired or been modified. Please note that each file can only be decrypted once within 90 days of encryption.<\/t>';\n\t\t\t\t\t\tdecryptBtn.style.display = 'grid';\n\t\t\t\t\t\tloader.style.display = 'none';\n\t\t\t\t\t} else if (data.message === 'Ending 3') {\n\t\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">Error processing file<\/t><br><t style=\"color: black; font-family: Fractul;\">Error: E-Mail addresses don\\'t match or E-Mail is invalid.<\/t>';\n\t\t\t\t\t\tdecryptBtn.style.display = 'grid';\n\t\t\t\t\t\tloader.style.display = 'none';\n\t\t\t\t\t} else if (data.message === 'Ending 4') {\n\t\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">File submitted<\/t><br><t style=\"color: black; font-family: Fractul;\">Decryption was queued. Expect an E-Mail in <b>less than 1 minute<\/b>. <a href=\"https:\/\/dycrypt.dylanwettstein.com\">dycrypt another<\/a><\/t>';\n\t\t\t\t\t} else if (data.message === 'Ending 5') {\n\t\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">Error processing file<\/t><br><t style=\"color: black; font-family: Fractul;\">Error: An unknown error occurred while processing your file.<\/t>';\n\t\t\t\t\t\tdecryptBtn.style.display = 'grid';\n\t\t\t\t\t\tloader.style.display = 'none';\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tdecryptDebug.innerHTML = '<t style=\"color: lightgray; font-family: Fractul;\">Error processing file<\/t><br><t style=\"color: black; font-family: Fractul;\">The server returned an error (' + response.status + '). Please try again in a moment.<\/p>';\n\t\t\t\t\tdecryptBtn.style.display = 'grid';\n\t\t\t\t\tloader.style.display = 'none';\n\t\t\t\t}\n\t\t\t});\n\t\t});\n    <\/script>\n\t<style>\n\t\t\/* Container *\/\n\t\t#dycrypt, #dycrypt-decrypt {\n\t\t\tfont-family: Arial, sans-serif;\n\t\t\tmargin: 20px;\n\t\t}\n\n\t\t\/* Buttons *\/\n\t\tbutton {\n\t\t\tbackground-color: black;\n\t\t\tcolor: white;\n\t\t\tpadding: 10px 20px;\n\t\t\tborder: none;\n\t\t\tcursor: pointer;\n\t\t\tmargin: 5px;\n\t\t}\n\n\t\tbutton:hover {\n\t\t\tbackground-color: #333;\n\t\t}\n\n\t\t\/* Input Fields *\/\n\t\tinput[type=\"text\"], input[type=\"email\"], input[type=\"file\"] {\n\t\t\twidth: 100%;\n\t\t\tpadding: 10px;\n\t\t\tmargin: 5px 0 20px 0;\n\t\t\tdisplay: inline-block;\n\t\t\tborder: 1px solid #ccc;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t\/* Textarea *\/\n\t\ttextarea {\n\t\t\twidth: 100%;\n\t\t\tpadding: 10px;\n\t\t\tmargin: 5px 0 20px 0;\n\t\t\tborder: 1px solid #ccc;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t\/* Debug Element *\/\n\t\t#debug, #decryptDebug {\n\t\t\tpadding: 10px;\n\t\t\tbackground-color: #f2f2f2;\n\t\t\tborder: 1px solid #ccc;\n\t\t}\n\t<\/style>\n    \n\n\n\n<p>Your E-Mail address will be shared with the owner of the file.<\/p>\n\n\n\n<p><a href=\"https:\/\/dycrypt.dylanwettstein.com\/\" data-type=\"page\" data-id=\"6\">Trying to encrypt a file?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your E-Mail address will be shared with the owner of the file. Trying to encrypt a file?<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"blank","meta":{"footnotes":""},"class_list":["post-35","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Decrypt - dycrypt<\/title>\n<meta name=\"description\" content=\"Unlock your secure files effortlessly with dycrypt&#039;s decryption page. Your data privacy and security are our top priorities.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Decrypt - dycrypt\" \/>\n<meta property=\"og:description\" content=\"Unlock your secure files effortlessly with dycrypt&#039;s decryption page. Your data privacy and security are our top priorities.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/\" \/>\n<meta property=\"og:site_name\" content=\"dycrypt\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-02T20:16:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/index.php\\\/decrypt\\\/\",\"url\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/index.php\\\/decrypt\\\/\",\"name\":\"Decrypt - dycrypt\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#website\"},\"datePublished\":\"2023-09-01T09:36:52+00:00\",\"dateModified\":\"2023-09-02T20:16:54+00:00\",\"description\":\"Unlock your secure files effortlessly with dycrypt's decryption page. Your data privacy and security are our top priorities.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/index.php\\\/decrypt\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/index.php\\\/decrypt\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/index.php\\\/decrypt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Decrypt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#website\",\"url\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/\",\"name\":\"dycrypt\",\"description\":\"It&#039;s Your Data, Keep It That Way\",\"publisher\":{\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#organization\",\"name\":\"dycrypt\",\"url\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/IMG_5709.jpeg\",\"contentUrl\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/IMG_5709.jpeg\",\"width\":956,\"height\":237,\"caption\":\"dycrypt\"},\"image\":{\"@id\":\"https:\\\/\\\/dycrypt.dylanwettstein.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Decrypt - dycrypt","description":"Unlock your secure files effortlessly with dycrypt's decryption page. Your data privacy and security are our top priorities.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/","og_locale":"en_US","og_type":"article","og_title":"Decrypt - dycrypt","og_description":"Unlock your secure files effortlessly with dycrypt's decryption page. Your data privacy and security are our top priorities.","og_url":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/","og_site_name":"dycrypt","article_modified_time":"2023-09-02T20:16:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/","url":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/","name":"Decrypt - dycrypt","isPartOf":{"@id":"https:\/\/dycrypt.dylanwettstein.com\/#website"},"datePublished":"2023-09-01T09:36:52+00:00","dateModified":"2023-09-02T20:16:54+00:00","description":"Unlock your secure files effortlessly with dycrypt's decryption page. Your data privacy and security are our top priorities.","breadcrumb":{"@id":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/decrypt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dycrypt.dylanwettstein.com\/"},{"@type":"ListItem","position":2,"name":"Decrypt"}]},{"@type":"WebSite","@id":"https:\/\/dycrypt.dylanwettstein.com\/#website","url":"https:\/\/dycrypt.dylanwettstein.com\/","name":"dycrypt","description":"It&#039;s Your Data, Keep It That Way","publisher":{"@id":"https:\/\/dycrypt.dylanwettstein.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dycrypt.dylanwettstein.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dycrypt.dylanwettstein.com\/#organization","name":"dycrypt","url":"https:\/\/dycrypt.dylanwettstein.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dycrypt.dylanwettstein.com\/#\/schema\/logo\/image\/","url":"https:\/\/dycrypt.dylanwettstein.com\/wp-content\/uploads\/2023\/08\/IMG_5709.jpeg","contentUrl":"https:\/\/dycrypt.dylanwettstein.com\/wp-content\/uploads\/2023\/08\/IMG_5709.jpeg","width":956,"height":237,"caption":"dycrypt"},"image":{"@id":"https:\/\/dycrypt.dylanwettstein.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/pages\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":4,"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/pages\/35\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/pages\/35\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/dycrypt.dylanwettstein.com\/index.php\/wp-json\/wp\/v2\/media?parent=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}