Initial commit as of 2018-10-16
This commit is contained in:
40
application/views/tools/encrypter/adfgvx.php
Normal file
40
application/views/tools/encrypter/adfgvx.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('adfgvx_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('adfgvx_description') ?></p>
|
||||
<div class="row col">
|
||||
<form action="" class="form w-100" id="adfgvx-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-xs-12">
|
||||
<div class="form-check form-check-inline">
|
||||
<input type="radio" class="form-check-input" id="adfgvxEncrypt" name="encryptDecrypt" value="encrypt" checked>
|
||||
<label for="adfgvxEncrypt" class="form-check-label"><?= lang('encrypter_encrypt') ?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-check-inline">
|
||||
<input type="radio" class="form-check-input" id="adfgvxDecrypt" name="encryptDecrypt" value="decrypt">
|
||||
<label for="adfgvxDecrypt" class="form-check-label"><?= lang('encrypter_decrypt') ?></label>
|
||||
</div>
|
||||
|
||||
<label for="adfgvx-key1"><?= lang('adfgvx_first_key') ?></label>
|
||||
<input type="text" id="adfgvx-key1" class="form-control" placeholder="<?= lang('adfgvx_first_key_ph') ?>">
|
||||
<label for="adfgvx-key2"><?= lang('adfgvx_second_key') ?></label>
|
||||
<input type="text" id="adfgvx-key2" class="form-control" placeholder="<?= lang('adfgvx_second_key_ph') ?>">
|
||||
</div>
|
||||
<div class="col-md-8 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="adfgvx-input" id="adfgvx-input-label"><?= lang('encrypter_decrypted') ?></label>
|
||||
<textarea name="adfgvx-input" id="adfgvx-input" rows="5" class="form-control input-encrypter" placeholder="<?= lang('encrypter_decrypted_ph') ?>" data-placeholder="<?= lang('encrypter_encrypted_ph') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="adfgvx-output" id="adfgvx-output-label"><?= lang('encrypter_encrypted') ?></label>
|
||||
<textarea name="adfgvx-output" id="adfgvx-output" rows="5"
|
||||
class="form-control output-encrypter" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
39
application/views/tools/encrypter/atbash.php
Normal file
39
application/views/tools/encrypter/atbash.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('atbash_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('atbash_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="atbash-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-xs-12">
|
||||
<div class="form-check form-check-inline">
|
||||
<input type="radio" class="form-check-input" id="atbashEncrypt" name="encryptDecrypt" value="encrypt" checked>
|
||||
<label for="atbashEncrypt" class="form-check-label"><?= lang('encrypter_encrypt') ?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-check-inline">
|
||||
<input type="radio" class="form-check-input" id="atbashDecrypt" name="encryptDecrypt" value="decrypt">
|
||||
<label for="atbashDecrypt" class="form-check-label"><?= lang('encrypter_decrypt') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="atbash-input-label"><?= lang('encrypter_decrypted') ?></label>
|
||||
<textarea class="form-control input-encrypter"
|
||||
name="text"
|
||||
id="atbash-input"
|
||||
rows="5"
|
||||
placeholder="<?= lang('encrypter_decrypted_ph') ?>"
|
||||
data-placeholder="<?= lang('encrypter_decrypted_ph') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="atbash-output-label"><?= lang('encrypter_encrypted') ?></label>
|
||||
<textarea id="atbash-output" name="output" rows="5" class="form-control output-encrypter" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
42
application/views/tools/encrypter/caesar.php
Normal file
42
application/views/tools/encrypter/caesar.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('caesar_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('caesar_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="caesar-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="encrypt" value="<?= lang('encrypter_encrypt'); ?>"
|
||||
checked> <?= lang('encrypter_encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="decrypt"
|
||||
value="<?= lang('encrypter_decrypt'); ?>"> <?= lang('encrypter_decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('caesar_shiftkey') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key"
|
||||
placeholder="<?= lang('caesar_shiftkey') ?>" value="5" maxlength="15"
|
||||
aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('caesar_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="text-input-label"><?= lang('encrypter_unencrypted') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="text-input" rows="5"
|
||||
placeholder="<?= lang('encrypter_input_plc') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="text-output-label"><?= lang('encrypter_encrypted') ?></label>
|
||||
<textarea id="text-output" name="output" rows="5" class="form-control output-encrypter"
|
||||
placeholder="<?= "" ?>" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
36
application/views/tools/encrypter/fleissner.php
Normal file
36
application/views/tools/encrypter/fleissner.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<div class="jumbotron">
|
||||
<div class="row">
|
||||
<h1 class="center" id="title"><?= lang('encrypter_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('encrypter_description') ?></p>
|
||||
<form class="form" action="" id="caesar-encrypt">
|
||||
<div class="col-md-2 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="encrypt" value="<?= lang('encrypt'); ?>" checked> <?= lang('encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="decrypt" value="<?= lang('decrypt'); ?>"> <?= lang('decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('encrypter_shiftkey') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key" rows="1" placeholder="<?= lang('encrypter_shiftkey') ?>" value="5" maxlength="15" aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('encrypter_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-10 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="text-input-label"><?= lang('encrypter_text') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="text-input" rows="5" placeholder="<?= lang('encrypter_text2') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="text-output-label"><?= lang('encrypter_output') ?></label>
|
||||
<textarea id="text-output" name="output" rows="5" class="form-control output-encrypter" placeholder="<?= lang('encrypter_output') ?>" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
36
application/views/tools/encrypter/gartenzaun.php
Normal file
36
application/views/tools/encrypter/gartenzaun.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('gartenzaun_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('gartenzaun_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="caesar-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" class="encrypt" value="<?= lang('encrypter_encrypt'); ?>" checked> <?= lang('encrypter_encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" class="decrypt" value="<?= lang('encrypter_decrypt'); ?>"> <?= lang('encrypter_decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('gartenzaun_keyword') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key" rows="1" placeholder="<?= lang('gartenzaun_keyword_plc') ?>" value="5" maxlength="15" aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('encrypter_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="gartenzaun-input-label"><?= lang('encrypter_unencrypted') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="gartenzaun-input" rows="5" placeholder="<?= lang('encrypter_input_plc') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="gartenzaun-output-label"><?= lang('encrypter_encrypted') ?></label>
|
||||
<textarea id="gartenzaun-output" name="output" rows="5" class="form-control output-encrypter" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
67
application/views/tools/encrypter/main.php
Normal file
67
application/views/tools/encrypter/main.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container" id="encryption-container">
|
||||
<div class="row">
|
||||
<ul class="nav nav-tabs" role="tablist" id="encrypter-tab-switch">
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#adfgvx" class="nav-link <?= $active == 'adfgvx' ? 'active show' : '' ?>" aria-controls="adfgvx" aria-selected="<?= $active == 'adfgvx' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_adfgvx') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#atbash" class="nav-link <?= $active == 'atbash' ? 'active show' : '' ?>" aria-controls="atbash" aria-selected="<?= $active == 'atbash' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_atbash') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#caesar" class="nav-link <?= $active == 'caesar' ? 'active show' : '' ?>" aria-controls="caesar" aria-selected="<?= $active == 'caesar' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_caesar') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#gartenzaun" class="nav-link <?= $active == 'gartenzaun' ? 'active show' : '' ?>" aria-controls="gartenzaun" aria-selected="<?= $active == 'gartenzaun' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#monosubkey" class="nav-link <?= $active == 'monosubkey' ? 'active show' : '' ?>" aria-controls="monosubkey" aria-selected="<?= $active == 'monosubkey' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_monosubkey') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#playfair" class="nav-link <?= $active == 'playfair' ? 'active show' : '' ?>" aria-controls="playfair" aria-selected="<?= $active == 'playfair' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_playfair') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a href="#vigenere" class="nav-link <?= $active == 'vigenere' ? 'active show' : '' ?>" aria-controls="vigenere" aria-selected="<?= $active == 'vigenere' ? 'true' : 'false' ?>" role="tab" data-toggle="tab">
|
||||
<?= lang('encrypter_vigenere') ?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content w-100">
|
||||
<div id="caesar" role="tabpanel" class="tab-pane fade <?= $active == 'caesar' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/caesar'); ?>
|
||||
</div>
|
||||
<div id="adfgvx" role="tabpanel" class="tab-pane fade <?= $active == 'adfgvx' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/adfgvx'); ?>
|
||||
</div>
|
||||
<div id="atbash" role="tabpanel" class="tab-pane fade <?= $active == 'atbash' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/atbash'); ?>
|
||||
</div>
|
||||
<div id="gartenzaun" role="tabpanel" class="tab-pane fade <?= $active == 'gartenzaun' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/gartenzaun'); ?>
|
||||
</div>
|
||||
<div id="monosubkey" role="tabpanel" class="tab-pane fade <?= $active == 'monosubkey' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/monosubkey'); ?>
|
||||
</div>
|
||||
<div id="playfair" role="tabpanel" class="tab-pane fade <?= $active == 'playfair' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/playfair'); ?>
|
||||
</div>
|
||||
<div id="vigenere" role="tabpanel" class="tab-pane fade <?= $active == 'vigenere' ? 'active show' : '' ?>">
|
||||
<?php $this->load->view('tools/encrypter/vigenere'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
36
application/views/tools/encrypter/monosubkey.php
Normal file
36
application/views/tools/encrypter/monosubkey.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('encrypter_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('encrypter_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="caesar-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="encrypt" value="<?= lang('encrypt'); ?>" checked> <?= lang('encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="decrypt" value="<?= lang('decrypt'); ?>"> <?= lang('decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('encrypter_shiftkey') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key" rows="1" placeholder="<?= lang('encrypter_shiftkey') ?>" value="5" maxlength="15" aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('encrypter_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-10 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="text-input-label"><?= lang('encrypter_text') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="text-input" rows="5" placeholder="<?= lang('encrypter_text2') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="text-output-label"><?= lang('encrypter_output') ?></label>
|
||||
<textarea id="text-output" name="output" rows="5" class="form-control output-encrypter" placeholder="<?= lang('encrypter_output') ?>" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
36
application/views/tools/encrypter/playfair.php
Normal file
36
application/views/tools/encrypter/playfair.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('encrypter_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('encrypter_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="caesar-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="encrypt" value="<?= lang('encrypt'); ?>" checked> <?= lang('encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="decrypt" value="<?= lang('decrypt'); ?>"> <?= lang('decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('encrypter_shiftkey') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key" rows="1" placeholder="<?= lang('encrypter_shiftkey') ?>" value="5" maxlength="15" aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('encrypter_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-10 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="text-input-label"><?= lang('encrypter_text') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="text-input" rows="5" placeholder="<?= lang('encrypter_text2') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="text-output-label"><?= lang('encrypter_output') ?></label>
|
||||
<textarea id="text-output" name="output" rows="5" class="form-control output-encrypter" placeholder="<?= lang('encrypter_output') ?>" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
36
application/views/tools/encrypter/vigenere.php
Normal file
36
application/views/tools/encrypter/vigenere.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<section class="container">
|
||||
<h1 class="center" id="title"><?= lang('encrypter_title') ?></h1>
|
||||
<p class="lead center" id="subtitle"><?= lang('encrypter_description') ?></p>
|
||||
<div class="row col">
|
||||
<form class="form w-100" action="" id="caesar-encrypt">
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-xs-12">
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="encrypt" value="<?= lang('encrypt'); ?>" checked> <?= lang('encrypt') ?>
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="encryptDecrypt" id="decrypt" value="<?= lang('decrypt'); ?>"> <?= lang('decrypt'); ?>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
<label for="key"><?= lang('encrypter_shiftkey') ?></label>
|
||||
<input type="number" class="form-control input-encrypter" name="key" id="shift-key" rows="1" placeholder="<?= lang('encrypter_shiftkey') ?>" value="5" maxlength="15" aria-describedby="shift-help" required>
|
||||
<span id="shift-help" class="help-block"><?= lang('encrypter_shifthelp') ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-10 col-xs-12">
|
||||
<div class="form-group">
|
||||
<label for="text" id="text-input-label"><?= lang('encrypter_text') ?></label>
|
||||
<textarea class="form-control input-encrypter" name="text" id="text-input" rows="5" placeholder="<?= lang('encrypter_text2') ?>"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="output" id="text-output-label"><?= lang('encrypter_output') ?></label>
|
||||
<textarea id="text-output" name="output" rows="5" class="form-control output-encrypter" placeholder="<?= lang('encrypter_output') ?>" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
Reference in New Issue
Block a user