{"id":294,"date":"2026-05-18T18:46:06","date_gmt":"2026-05-18T16:46:06","guid":{"rendered":"https:\/\/monografija.imgge.bg.ac.rs\/40\/dnk-dekoder\/"},"modified":"2026-06-17T14:22:59","modified_gmt":"2026-06-17T12:22:59","slug":"dna-decoder","status":"publish","type":"page","link":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/","title":{"rendered":"DNA DECODER"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div style=\"max-width:800px; margin:20px auto;\">\n\n    <div style=\"font-size:20px;font-weight:600;margin-bottom:15px;\">\nThis book hides more than meets the eye. Some stories are not meant to be read - but decoded. We leave them for you to unlock\n    <\/div>\n\n    <div id=\"inputContainer\"\n         style=\"padding:15px;border:1px solid #ccc;background:#f7f7f7;word-break:break-all;\">       CCAACTACAATGACCCCCCCACCCCAGACAATGAACACAAGTATTATCACGCATATGCCAATTATGCCAACTATTCATACAATGCCTACTATTATGCATACAACAATGCAAATTCATCATAGAAACAGAAGTAGACCAAGAACACATATGAACACAACCATTCAGACAATGCCAACTACACGCATGAACACAAAGATTATAACAATGACACCGAGAAATACAATCCCA\n    <\/div>\n\n    <br>\n\n    <button id=\"runScriptBtn\"\n            style=\"padding:10px 20px;cursor:pointer;\">\n        Decode\n    <\/button>\n\n    <div style=\"font-size:18px;font-weight:600;margin-top:20px;margin-bottom:10px;\">\n        Result\n    <\/div>\n\n    <div id=\"resultContainer\"\n         style=\"padding:15px;border:1px solid #ccc;min-height:60px;background:#fff;\">\n        ...\n    <\/div>\n\n\t<div style=\"margin-top:20px;font-size:1.25em;\">\nIf you wish to write in the language of DNA yourself, visit: \n    \t<br>\n    \t<a href=\"https:\/\/www.cachesleuth.com\/dnacode.html\" target=\"_blank\" style=\"font-size:0.75em;\"> https:\/\/www.cachesleuth.com\/dnacode.html<\/a>\n\t<\/div>\n<\/div>\n\n<script>\nfunction decrypt(ciphertext) {\n    const T = {\n        GTG: \".\", ATG: \" \", AAA: \"A\", CGT: \"a\", AAC: \"B\", CTA: \"b\",\n        AAG: \"C\", CTC: \"c\", AAT: \"D\", CTG: \"d\", ACA: \"E\", CTT: \"e\",\n        ACC: \"F\", GAA: \"f\", ACG: \"G\", GAC: \"g\", ACT: \"H\", GAG: \"h\",\n        AGA: \"I\", GAT: \"i\", AGC: \"J\", GCA: \"j\", AGG: \"K\", GCC: \"k\",\n        AGT: \"L\", GCG: \"l\", ATA: \"M\", GCT: \"m\", ATC: \"N\", GGA: \"n\",\n        ATT: \"O\", GGC: \"o\", CAA: \"P\", GGG: \"p\", CAC: \"Q\", GGT: \"q\",\n        CAG: \"R\", GTA: \"r\", CAT: \"S\", GTC: \"s\", CCA: \"T\", GTT: \"t\",\n        CCC: \"U\", TAA: \"u\", CCG: \"V\", TAC: \"v\", CCT: \"W\", TAG: \"w\",\n        CGA: \"X\", TAT: \"x\", CGC: \"Y\", TCA: \"y\", CGG: \"Z\", TCC: \"z\",\n        TCG: \"0\", TCT: \"1\", TGA: \"2\", TGC: \"3\", TGG: \"4\", TGT: \"5\",\n        TTA: \"6\", TTC: \"7\", TTG: \"8\", TTT: \"9\",\n    };\n\n    function normalize(w) {\n        return String(w || \"\")\n            .toUpperCase()\n            .replace(\/[^ACTG]+\/g, \"\");\n    }\n\n    const cleaned = normalize(ciphertext);\n    const triplets = cleaned.match(\/.{1,3}\/g);\n\n    let result = \"\";\n\n    if (triplets) {\n        triplets.forEach(code => {\n            if (code.length === 3 && Object.prototype.hasOwnProperty.call(T, code)) {\n                result += T[code];\n            }\n        });\n    }\n\n    return result;\n}\n\ndocument.getElementById('runScriptBtn').addEventListener('click', function () {\n\n    const sequence = document\n        .getElementById('inputContainer')\n        .textContent\n        .trim();\n\n    const decoded = decrypt(sequence);\n\n    document.getElementById('resultContainer').textContent = decoded || \"Nema rezultata\";\n});\n<\/script><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"footnotes":""},"class_list":["post-294","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DNA DECODER - Monografija IMGGI<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DNA DECODER - Monografija IMGGI\" \/>\n<meta property=\"og:url\" content=\"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/\" \/>\n<meta property=\"og:site_name\" content=\"Monografija IMGGI\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-17T12:22:59+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/dna-decoder\\\/\",\"url\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/dna-decoder\\\/\",\"name\":\"DNA DECODER - Monografija IMGGI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/#website\"},\"datePublished\":\"2026-05-18T16:46:06+00:00\",\"dateModified\":\"2026-06-17T12:22:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/dna-decoder\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/dna-decoder\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/dna-decoder\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u041f\u043e\u0447\u0435\u0442\u043d\u0430\",\"item\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DNA DECODER\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/#website\",\"url\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/\",\"name\":\"Monografija IMGGI\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/monografija.imgge.bg.ac.rs\\\/40\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DNA DECODER - Monografija IMGGI","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:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/","og_locale":"en_US","og_type":"article","og_title":"DNA DECODER - Monografija IMGGI","og_url":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/","og_site_name":"Monografija IMGGI","article_modified_time":"2026-06-17T12:22:59+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/","url":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/","name":"DNA DECODER - Monografija IMGGI","isPartOf":{"@id":"https:\/\/monografija.imgge.bg.ac.rs\/40\/#website"},"datePublished":"2026-05-18T16:46:06+00:00","dateModified":"2026-06-17T12:22:59+00:00","breadcrumb":{"@id":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/dna-decoder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u041f\u043e\u0447\u0435\u0442\u043d\u0430","item":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/"},{"@type":"ListItem","position":2,"name":"DNA DECODER"}]},{"@type":"WebSite","@id":"https:\/\/monografija.imgge.bg.ac.rs\/40\/#website","url":"https:\/\/monografija.imgge.bg.ac.rs\/40\/","name":"Monografija IMGGI","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/monografija.imgge.bg.ac.rs\/40\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/pages\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/comments?post=294"}],"version-history":[{"count":11,"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/pages\/294\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/pages\/294\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/monografija.imgge.bg.ac.rs\/40\/en\/wp-json\/wp\/v2\/media?parent=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}