Skip to content

danielkrainas/weph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weph (Web Cipher)

Weph is a novel, experimental cipher. It's based on classic book ciphers and uses web page instead of a book to encode the message. This is a proof of concept implementation.

Theory

The cipher considers the structure as well as the content of the HTML page when creating the references. The resulting reference objects are used to encode the message. Multiple HTML pages may be used in the generation of the encoded message. When at all possible, the cipher will attempt to act homophonically and use different reference objects for the same letters.

Page Reference Object

A page reference object is an index of a textual node found within the HTML page, excluding script and style tag content.

ReferenceObject
{
	// The zero-based index of the what url was used to generate this reference
	unsigned WORD url

	// The tag depth of the content
	unsigned WORD depth

	// A zero-based index of the reference itself, local to the url index.
	unsigned WORD reference_index

	// Textual content of the text node from the HTML
	string text
}

License

Unlicense. This is a Public Domain work.

Public Domain

"Make art not law" -Nina Paley

About

Experimental cipher using HTML content and structure as the substitution key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published