mozq / dencode-web Goto Github PK
View Code? Open in Web Editor NEWSource code of DenCode.
Home Page: https://dencode.com
License: Apache License 2.0
Source code of DenCode.
Home Page: https://dencode.com
License: Apache License 2.0
It seems there is an issue with the roror II in Enigma tool.
Steps to reproduce:
Plaintext: SOMESECRETMESSAGE
key settings: VEZ
ring settings: ABD
Rotors: 324
Plug board settings: GT YC EJ UA RX PN IS WB MH ZV
Encrypt/Decrypt
cipertext
value to Dencode Enigma toolResult: message is decrypted correctly.
Result: message is decrypted incorrectly.
Result: message is decrypted correctly.
So it seems that combinations of the middle rotor II + rightmost rotors V..VIII produce incorrect results.
I've also tested CacheSleuth tool, and it behaves like Practical Cryptography's one, i.e. it has no such issue.
P.S. Thanks to @the-lambda-way
In ISO 8601 the first week of the year is the one with the first Thursday in it.
Currently, the date converter gives the week with 1 January in it as the week 1 in the output "ISO8601 Date (Weeks)", so, for years that starts in Friday, Saturday or Sunday, the week numbers of all the days are 1 week ahead and the first 3 days of the year are 1 year ahead.
Examples, the dates:
2016-12-31
2017-01-01
Output:
2016-W53-6T00:00:00Z
2017-W01-7T00:00:00Z
They should be:
2016-W52-6T00:00:00Z
2016-W52-7T00:00:00Z
I guess some lines need to be added in:
src/main/java/com/dencode/web/servlet/pages/DencodeServlet.java
Incorporating the format for week year (YYYY instead of yyyy) in the pattern string and setting the minimal days required in first week to 4 in the Calendar used by the DateFormat object.
Links to the methods in case they are indeed of help:
https://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html#setCalendar(java.util.Calendar)
https://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html#setMinimalDaysInFirstWeek(int)
First I love your dencode, it's what I really needed badly to convert UTF-16LE to Hex to work on some tables in Cheat Engine. and works perfectly and quickly. I was trying to build it but I keep getting this error. I'm not an advanced user and never used "Grandle" before, but I have built applications in Github with no issues. I'm really curious how I can get dencode working offline because I want to learn the trick to building it without getting this error:
dencode-web>gradlew appRunStage
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> error: invalid source release: 17
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1s
1 actionable task: 1 executed
I have Java SDK 17 and 21 installed on my computer so I have no idea what I'm doing wrong. I set my Java bin directory path in Environmental Variables too. Any help so I can get your awesome dencode working for me locally?
On https://dencode.com/string/ascii85, the second example shows 6F000000(16)
= 1214606444(10), which is wrong (copy-paste error from first example). Correct decimal value is 1862270976. The div/mod calculation of the second example is correct.
Is it possible to add small caps converter? i.e. abcdefghijklmnopqrstuvwxyz
to ᴀʙᴄᴅᴇꜰɢʜɪᴊᴋʟᴍɴᴏᴘꞯʀꜱᴛᴜᴠᴡxʏᴢ
Note: “LATIN LETTER SMALL CAPITAL X” does not exist and plain small letter x
is used instead.
Hi!
This is a great project! ❤️
I would like to write and publish a PowerToys Run plugin that use your API.
Can I POST
to https://dencode.com/dencode
from the plugin?
Would that be fair use of the API?
Would you prefer that I set a specific user agent for those requests?
Thanks!
/ Henrik
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.