2006/07/10

GPG in Thunderbird

I have downloaded the GPG extension (plug-in)
to the Thunderbird mail program.

It is GREAT, works intuitively and exactly as you expect.
The trick is to get it installed.

You can download it from
https://addons.mozilla.org/thunderbird/71/
but DO NOT try to download it using Firefox.
You must follow the instructions (:-)
and download to a local file using Firefox
Then use Thunderbird to import the file.

python (1)

## http://www.math.umbc.edu/~campbell/Computers/Python/numbthy.html
import numbthy

input = open('primes.txt', 'r')

for line in input:
## print line
p = int(line, 16)
print p
print numbthy.isprime(p)