cryptool-online's People
cryptool-online's Issues
Add Start offset for alphabets
Instead of assigning the first letter of the alphabet to 0, this number should be freely configurable (e.g. for the Porta algorithm), displayed and changable.
vigenere build failed
[15:13:26] gulp-i18n-localize: ${{ base.PLAIN_TEXT }}$ translation missing in en
events.js:160
throw er; // Unhandled 'error' event
^
Error: no writecb in Transform class
at afterTransform (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:74:40)
at TransformState.afterTransform (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:58:12)
at DestroyableTransform.fileInclude [as _transform] (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\gulp-file-include\lib\index.js:57:9)
at DestroyableTransform.Transform._read (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:147:83)
at doWrite (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:338:64)
at writeOrBuffer (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:327:5)
at DestroyableTransform.Writable.write (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:264:11)
at write (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:623:24)
at flow (D:\web\crypTool\src\_ctoApps\vigenere\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:632:7)
No duplicate Warnings in key alphabets
As no inversion of the key alphabet is used in Vigenère, it does not matter, if characters occur multiple times in key alphabets.
Move Unit-Tests in the directories of the algorithms
modal problem
move generated unit-tests to dist/test directory
Einbindung mehrer Apps/Componenten in einer Joomla Seite
Mit der vorliegenden Lösung kann jeweils nur eine CTO App pro Joomla Webseite eingebunden werden. Dies könnte z.B. in Kategorie Ansicht erforderlich werden (soweit im Intro Text bereits die Einbindung erfolgen soll).
Um die Einbindung mehrer CTO Apps in einem Joomla Artikel bzw. auf einer Joomla Page zu gewährleisten sind folgende Punkte zu berücksichtigen:
- eindeutige Benennung der App bzw. Component
- system.js config muss paths pro app enthalten
- im letzt eingebundenen systemjs.config.js File müssen die Definitionen für jede App enthalten sein
Mit folgender systemjs.config.js Datei können die Test-Komponenten app & appTwo auf einer Seite ausgeführt werden:
/**
* System configuration for Angular 2 samples
* Adjust as necessary for your application needs.
*/
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app',
'appTwo': 'appTwo', // 'dist',
'@angular': 'node_modules/@angular',
'angular2-in-memory-web-api': 'node_modules/angular2-in-memory-web-api',
'rxjs': 'node_modules/rxjs'
};
// packages tells the System loader how to load when no filename and/or no extension
var packages = {
'app': { main: 'main.js', defaultExtension: 'js' },
'appTwo': { main: 'main.js', defaultExtension: 'js' },
'rxjs': { defaultExtension: 'js' },
'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
};
var ngPackageNames = [
'common',
'compiler',
'core',
'forms',
'http',
'platform-browser',
'platform-browser-dynamic',
'router',
'router-deprecated',
'upgrade',
];
// Individual files (~300 requests):
function packIndex(pkgName) {
packages['@angular/'+pkgName] = { main: 'index.js', defaultExtension: 'js' };
}
// Bundled (~40 requests):
function packUmd(pkgName) {
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
}
// Most environments should use UMD; some (Karma) need the individual index files
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
// Add package entries for angular packages
ngPackageNames.forEach(setPackageConfig);
var config = {
paths :{app: "/_ctoApps/test/ctoTest2/app", appTwo: "/_ctoApps/test/ctoTest3/appTwo"},
baseURL: "/_ctoApps/test/ctoTest3",
map: map,
packages: packages
};
System.config(config);
})(this);
Dieser Ansatz ist jedoch nicht wirklich praktikabel, daher sollte in einer späteren Version mit dynamisch erstellten **systemjs.config files _gearbeitet werden. Diese sollte vom Joomla Plugin _loadcto generiert werden.
Document example of mixed Alphabets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.