Is there any JCop or GPShell command to provide list of supported encryption/sign algorithms in a Javacard?
What about providing the supported key length of for example 3-DES?
I want these information for a card which I haven't got the specifications...
There is no build in command for this as the card does not expose this information so the answer is no.
That said, this is not the first time this has come up, and the solution space is not empty. Check this page which uses an Applet + tool to test the cards capabilities.
Or you could check the user manual of the card of course.
Related
Assume I have sensitive information (passwords, private keys,...) that I saved to a file which I encrypted.
Is there an easy to use tool to convert back and forth between a small file (say 0.5kB) and an image (QR code?) that I can print out to have a safe backup?
You can use LaTeX with the ps-tricks and pst-barcode modules, it produces nice QR codes, and yesm we used it exactly for this purpose: Paper backup of SSH private keys.
Denso Wave of QR code developer distributes software on their site.
Membership registration on the site is required to obtain it.
Even if you can not print with this, there are various tools regardless of free/commercial, so please search.
The maximum amount of data that can be stored in the QR code is 2953 bytes in binary mode.
However, it depends on the ability of the scanner to use.
QR code FAQ #6 Can an image or sound be stored in a QR Code?
I wrote a linux program to do this, called qr-backup.
In researching similar programs as part of it, I discovered a number of alternative projects as well. All of these are also linux-only.
asc2qr.sh
paperbackup. Focused on GPG/SSH key backup. See also the paperkey preprocessor, to reduce the size of keys.
qrdump (incomplete)
qrpdf
If your file is very small (0.5KB is a good cutoff), you can generate one single QR code. An example command-line program to generate it is qrencode. Several web converters are also available.
I am new to PACS and I would like to get some clarification about the web-based PACS system. Almost all the articles in internet talks about the Protected Health Information (PHI) that is associated with a DICOM image and recommending to rip off this information before sharing the image to someone else. I would like to understand how it can be done.
I am aware that if we convert the DICOM image into a PNG or JPEG image the DICOM header information will be removed. But, I wonder what if we need the original DICOM image any time and how do we re-create the PHI into a PNG image and get it as a DICOM
I have an apache web server and a MySQL database, both are installed in separate ubuntu servers. I want to know how can I securely share the patient scan/X-ray images via internet.
I really appreciate if someone could explain me in detail and thank you for your time and consideration.
PHI stands for Personal Health Information, not Protected Health Information.
A scan stored in the DICOM format contains many tags, some of which could identify the subject. There are some anonymizer programs you could incorporate in your setup.
Two programs I have tested are:
the CTP program by the RSNA project. (free and open source java)
Neologica's Dicom Anonymizer (free to use trial)
I'd post the link, but need 10 rep to post more than two links
which is completely stupid, but please try it out.
Both have an understandable interface and easy configuration wherein
you can decide which tag content to remove, or what to replace it with.
You should really read up on the tags and possibilities, but to give you an idea:
CTP anonymizer
Neologica's anonymizer
You need to make a distinction in between :
An Anonymization process
A de-identification process
In the case of Anonymization everything is lost for good as you mentionned. In the case of de-identification everything is hidden. This is described specifically within the DICOM Standard E.1 Application Level Confidentiality Profiles.
While there are plenty of non-standard DICOM anonymizer out there (use dd or hexedit in the worse case), there are very few de-identifiers out there. gdcmanon implement a previous DICOM release (before Supp 142 came out) in the command line tool.
You may want to read also: An Open Source Toolkit for Medical Imaging
De-Identification.
And if this still not enough reading, I suggest you also dive into the world of 'Private Attributes' (!= Public attributes), with the particular issue explained here regarding PHI.
Maybe I didn't search to good, but I wonder is there a way to play a sound on my Apple mobile device when the task is finished, for example call to apply?
Best Regards
(This is one of many possible answers, and happens to work very well for me.)
I use Pushbullet and RPushbullet. After the initial setup (free account and free use), from any R instance (that has connectivity with the internet) I can run pbNote('note', 'title', 'body of note'), and it "instantly" comes up on my computer and mobile.
Because it is an R package/function, it can be easily scripted to meet whatever static/dynamic needs may arise. It can also send images (I'm told), files, addresses (think google maps), and lists.
I'm using the twitteR package and tweet something when a long-lasting task is done. You can then setup a second twitter account to follow the account you tweet to from R and set an alarm for new tweets.
To be able to tweet from R, you have to go through all the authentication steps for Twitter, though.
I use my own github package to send a text. This is wrapping python code I didn't write and don't understand so I maintain it for myself but have not been able to address other people's problems:
https://github.com/trinker/gmailR
So the use may look something like:
gmail(to=cell2email(5555555555, "sprint"), password = "password")
Including this at the end of the script sends me a text when the long task is complete. This really is taking advantage that cell numbers can be turned into email addresses if the cell carrier is known.
I am thinking to build a Telephone based search engine.
The concept is simple:
User Dials the number.
We record his input and convert the speech into text.
Use Google API to search for the query.
Fetch the top results and convert them into speech.
Send output to the user.
I'm comfortable in coding the mechanism. But i don't know how to implement this on a telephone line. I will need a IVR which will guide the user and a back end application for processing. I can code the backend application.
Can you guys please tell me how can I implement my app over a telephone line. I did some research and come up with something called Asterisk and VoiceXML. Is it possible to do the task using any of these methods.
If the question was "Is it possible to do the task using any of these methods?" then the simple answer is yes.
VoiceXML lets you define an application executed on a VoicePlatform like Cisco CVP, Avaya AVP, Genesys GVP, ... The only "issue" which you will have is that you need one of those for it (and they tend to be relatively expensive).
If you had a speech recognizer and a speech synthesis engine then you may be able to have calls coming into an Astrisk platform and sending these via SIP into a SIP-capable server which builds the dialog in any programming language you like (e.g. Java). Here you'll need a speech recognizer and a speech synthesis engine to do the "conversions".
Even though my answer implies it is simple, there are many issues to overcome on the way, like: speech quality, recognition accuracy, error handling, etc.
I need to add couple of assertions on the screen.
Lets Say I am on Page 1. I need to verify that some xxx text is displayed or not and button is displayed or not and also need to verify that the label of the button.
Please Help me how to add assertion in the monkey runner script..
Thanks
AFAIK Monkeyrunner doesn't have its own assertion mechanisms that would suit your need.
You can take a snapshot of your device and use some external image processing mechanism to verify interesting parts - but I know that wouldn't be ideal for text comparison.
You can use Python Imaging Library http://www.pythonware.com/products/pil/
Take a look at http://developer.android.com/guide/developing/tools/MonkeyImage.html, if you already have a MonkeyImage object that looks correct you can use MonkeyImage.sameAs() to compare it to the current MonkeyImage.
http://docs.python.org/library/pickle.html might be helpful for saving MonkeyImage objects. (I'd like to stress the might though)
The next version of the SDK should have a method of loading MonkeyImage objects from image files so you can compare it with less work. See https://review.source.android.com//#change,21478 for more info about this change.