Re: New Lab Request: Penihip - a name generator

2009-05-25 Thread David Crossley
Bernd Fondermann wrote:

 What crypto lib will you be using?

None. The main product of the lab is a
simple tool that does a basic encipher/decipher.

-David

-
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org



Re: New Lab Request: Penihip - a name generator

2009-05-25 Thread Santiago Gala
El lun, 25-05-2009 a las 15:46 +1000, David Crossley escribió:
 David Crossley wrote:
 
  I request a new lab to investigate building a tool to generate new words.
  
  Purpose:
  
  Generate new words by applying a caesar cipher to existing words.
 
 Thanks. I count four +1 from PMC members, plus one more.
 
 I will create the svn space, etc.
 
 Before importing the initial program code, would someone
 please help me understand the Handling Cryptography ...
 requirement.
 
 IIUC, then going by the list of points at:
 http://www.apache.org/dev/crypto.html#classify
 this lab would not need a notification, as its
 symmetric algorithm key length, is less than 56-bits.
 
 I am no crypto expert, so i am not even sure what is
 meant by key length in this case.
 
 The program uses a monoalphabetic substitution cipher
 i.e. the cipher alphabet is fixed for the whole process.
 
 It enables a specified number of characters to offset
 along the alphabet, which is fixed for the whole process.
 
 There are 21 consonants, so with an offset of 21 the
 consonants are the same as their original value.
 However, the vowels in that operation will be effectively
 offset by one.
 
 So what is the key size? Is it 1?
 

My guess is that the key bit size is n, such as 2^n == number of
different keys

So, for a displacement encryption with 20  keys would amount to
something like 5 bits keys, which is commensurate with how easy it is to
decrypt. You need to add the bits generated by independent vowel
displacement, but in any case I guess it is around or under 8 bits. No
need for export notification, in any case...

Regards
Santiago


 -David
 
 -
 To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
 For additional commands, e-mail: labs-h...@labs.apache.org
 


-
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org



Re: New Lab Request: Penihip - a name generator

2009-05-19 Thread Reinhard Pötz
Bertrand Delacretaz wrote:
 On Fri, May 15, 2009 at 10:11 AM, David Crossley cross...@apache.org wrote:
 I request a new lab to investigate building a tool to generate new words.
 
 +1, nice idea!

+1 too!

-- 
Reinhard Pötz   Managing Director, {Indoqa} GmbH
 http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member  reinh...@apache.org


-
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org



Re: New Lab Request: Penihip - a name generator

2009-05-15 Thread sebb
+1

[Might be good if it optionally took the name from the command-line,
and generated it for all the 25 offsets.]

On 15/05/2009, Bernd Fondermann bernd.fonderm...@googlemail.com wrote:
 +1, sounds... funny!


   Bernd


  On Fri, May 15, 2009 at 10:11, David Crossley cross...@apache.org wrote:
   I request a new lab to investigate building a tool to generate new words.
  
   Purpose:
  
   Generate new words by applying a caesar cipher to existing words.
  
   Description:
  
   New words are needed for software projects, usernames, commercial
   products. Using existing relevant words as a starting point, Penihip
   applies a specified offset number of characters to shift along the
   alphabet, thereby creating new words. The consonants and vowels are
   shifted within their own set. Therefore the generated words are more
   likely able to be spoken. It does not attempt to handle sentence
   structure, grammar, etc. or be a spoken language generator.
   The name penihip is the ciphertext achieved by one-right-shift
   using the plaintext word namegen (as in Name Generator).
  
   It is becoming ever harder to find names for products that are
   not already taken. Creating fanciful new names is one possibility.
  
   Status:
  
   There is a Perl script penihip as the initial implementation.
   See http://people.apache.org/~crossley/penihip/
  
   Usage:
  
   Gather some words that describe your product. Words with length
   between four to seven characters seem to yield the best results.
  
   Follow the usage instructions to run the tool, e.g.
./penihip -e  test-encipher-input.txt
  
   Search the internet to ensure that the new words are suitable.
  
   Use a bigger offset number of characters to try for other words, or
   apply a reverse cipher.
  
   Further work:
  
   Perhaps better handling of some cases where multiple vowels will
   create strange words.
  
   Improve the initial Perl implemenmtation.
  
   Perhaps other programming language implementations, e.g. Java.
  
   ---
   ?xml version=1.0?
   rdf:RDF
xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
xmlns=http://usefulinc.com/ns/doap#;
xmlns:foaf=http://xmlns.com/foaf/0.1/;
xmlns:labs=http://labs.apache.org/doap-ext/1.0#;
xmlns:projects=http://projects.apache.org/ns/asfext#;
Project rdf:about=http://labs.apache.org/labs#penihip;
  namePenihip/name
  shortnamepenihip/shortname
  shortdesc xml:lang=en
Generate new words by applying a caesar cipher to existing words.
  /shortdesc
  description xml:lang=en
New words are needed for software projects, usernames, commercial
products. Using existing relevant words as a starting point, Penihip
applies a specified offset number of characters to shift along the
alphabet, thereby creating new words. The consonants and vowels are
shifted within their own set. Therefore the generated words are more
likely able to be spoken. It does not attempt to handle sentence
structure, grammar, etc. or be a spoken language generator.
The name penihip is the ciphertext achieved by one-right-shift
 using the plaintext word namegen (as in Name Generator).
  /description
  homepage rdf:resource=http://labs.apache.org/penihip//
  license rdf:resource=http://usefulinc.com/doap/licenses/asl20/
  created2009-05-15/created
  labs:statusactive/labs:status
  maintainer
foaf:Person rdf:about=http://people.apache.org/~crossley/#me;
  foaf:nameDavid Crossley/foaf:name
  foaf:homepage rdf:resource=http://people.apache.org/~crossley//
  
 foaf:mbox_sha1sum462412894c3b84098b9ae2556f2f1ff99f64f360/foaf:mbox_sha1sum
/foaf:Person
  /maintainer
  repository
SVNRepository
  location 
 rdf:resource=http://svn.apache.org/repos/asf/labs/penihip//
  browse rdf:resource=http://svn.apache.org/viewvc/labs/penihip//
/SVNRepository
  /repository
  programming-languagePerl/programming-language
/Project
   /rdf:RDF
  
   -
   To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
   For additional commands, e-mail: labs-h...@labs.apache.org
  
  

  -
  To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
  For additional commands, e-mail: labs-h...@labs.apache.org



-
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org



Re: New Lab Request: Penihip - a name generator

2009-05-15 Thread David Crossley
Santiago Gala wrote:
 
 +1 to the lab, BTW
 
 Some time ago, as in before jakarta existed and I was still using
 windows, between 1996 and 1999, there was a dutch java web site, open
 source, that had a number of very interesting small products, like chat
 applet, etc. One of the products was a syllabic password generator, that
 generated passwords by combining valid word fragments randomly. For some
 languages, for example Spanish, this generated words that are easy to
 remember and sound well. While the passwords were not so strong, they
 were easy enough to remember so that people would not scribble them in
 postit sheets on the screen...
 
 The idea is: creating words by combining valid morphemes from
 languages could be an alternative implementation that we could exploit
 in this project. I could even give a try to the idea. What do you think?

Yes i think that that would fit with this lab.

Thanks for your interest.

That is different to my original idea, so i wonder if
it should be a completely separate mode of the tool.

My concept is for a new word to be generated from
an existing relevant word. Perhaps it carries some
of the power of the original word.

Also the origin of the new words can be explained,
e.g. Voni is one offset from the word Time.
e.g. Wupo is two offsets from the word Time.

Also the tool will encipher, and then decipher to the
original seed word,
e.g. 'penihip -d -o 1 Voni' will produce the word Time.
e.g. 'penihip -d -o 2 Wupo' will produce the word Time.

-David

-
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org