Calculating combinations of a key

I want to protect accounds by introducing a key, and I need to calculate the potential combinations
so that I am happy with the amount of potential combinations.
I will use numbers 0-9 and characters A to Z .. so 36 characters in each column.
Example: 65TG9
Does anybody know where I might find an online calculator that I can use to check the number of combinations?
I need to let it know there are 36 characters, and then test the length of the string to get it up to a big enough number. I'm just trying to stop overkill, no point having a huge UUID if I don't need it
Thanks
Mark

Its been a while since my last math class, but I'm pretty sure that the equation for testing the possible permutations here would be:
(# of unique characters in the set)^(# of positions)
e.g.
2 characters with 2 positions = 2^2 = 4
2 characters with 3 positions = 2^3 = 8
with 36 characters, you can go a long way with only a few positions.  quick suggestion though - the times that we've implemented this sort of random character string generator, its always a good idea to leave out certain... shall we say... naughty... letters out of the mix to prevent any user from being assigned a randomly generated obscene key.
Now THAT is probably a fairly fun math probelm to solve right there.
Obviously not an issue if you are using the key as part of an encrypted/encoded token that no one will ever see but the server.

Similar Messages

  • I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I updated to Firefox 4.01 today and the middle scroll button on my Lenovo T400 stopped working. I downloaded the updated Ultranav utility and the Ultranav driver for my T400 from here http://www-307.ibm.com/pc/support/site.wss/MIGR-72858.html and then uninstalled the "Thinkpad Ultranav Driver" from Add/Remove programs rebooted and then installed the updated utility and driver (another reboot) and it now works perfectly.
    So glad to get this working again.

  • Calculation based on date key figures in BEx

    Hi Friends,
    Hi Friends,
    I need to creat report for sales order data, which involved the calculation based on dates.
    In my cune iam having the data at the granual level with the dates as key figures. the calculation that i need to do is VTW = Actual PGI date - Customer want date.
    1) whn i run the report at the granual level my VTW is working correctly. No issues.
    2) when i run the report at higher levels the date fields are updated with X, as the system is unable to aggrigate the dates. The dates are at the material level in  a sales order. I need to show the VTW at the sales order level (each one of the two dates are same for all the materials). So, when i run the report with out mataril at the sales order level...i wanto sea the bothe date fields in a single line and also the VTW calculated as the different between throse two dates.
    3) Once we get the VTW correctly at the sales orde level. if i drill down the report for material, i want to sea both the dates in every record againest the matarial, but the VTW only aginest the first record...that is againest the sales order. I dont waht the VTW value repeated/duplicated for all the records againest the sales order,as VTW makes sence only at the Sales Order level.
    Please suggest me hwo i can achive the resulsts by meeting both Point 2 and 3.
    Thanks for ur help...in advance.
    Thanks,
    Renu

    Hi..
    I have the data from the extractore and in the cube as below.
    SALES ORDER    ITEM                MATERIAL            DATE1                         DATE2
    101                        Item1               Mat1              01/01/2010                15/01/2010
    101                        Item2               Mat2              01/01/2010                15/01/2010
    101                       Item3                Mat3             01/01/2010                15/01/2010
    I need the reports as below...
    Report1:
    SALES ORDER        DATE1                         DATE2                  VTW (DATE2 - DATE1)
    101                        01/01/2010                15/01/2010                14
    currently iam getting this Report1 output as below...
    SALES ORDER        DATE1                         DATE2                  VTW (DATE2 - DATE1)
    101                             X                                   X                           42
    Report2: Out put required as below
    SALES ORDER     ITEM                MATERIAL            DATE1                         DATE2      VTW (DATE2 - DATE1)
    101                        Item1               Mat1              01/01/2010                15/01/2010              14
    101                        Item2               Mat2              01/01/2010                15/01/2010
    101                   I     tem3                Mat3             01/01/2010                15/01/2010
    currently iam getting this Report2 output as below...
    SALES ORDER     ITEM                MATERIAL            DATE1                         DATE2      VTW (DATE2 - DATE1)
    101                        Item1               Mat1              01/01/2010                15/01/2010              14
    101                        Item2               Mat2              01/01/2010                15/01/2010               14
    101                   I     tem3                Mat3             01/01/2010                15/01/2010               14
    As VTW is need to be measued at the sales order level and we always have the DATE1 & DATE2 as same for all the itesm, it should be shon as only 14 in the first record. It mean once iget the required output from Report one in a single line with VTW as 14, it should not repeat with every line , when i dril down the report for Items or materials.
    Even if i can generate oly report2 as required in a single sheet ...that will be enough.
    Plas kindly provide some solution as how we can achieve this,
    Thanks,
    Renu

  • Accumulated depre calculation or NBV at key date

    Does SAP provide any function for calculated accum.depre. or NBV at any point of time? If i want to know accum.depre. or NBV at any date which is not month-end date, what should i do?
    I've tried FIAA_NBV_SHOW but this function is not support if key date is earlier than the last transaction date of the asset.
    All suggestions or comment are welcomed!!!

    have you tried Ar02, Ar03 reports?

  • Combine ctrl+shift key (how)?

    how to combine two keys at a time (like ctrl+alt) on button in action performed methode can any one make me understand by giving some small ex.

    This thread shows how to assign Actions to KeyStrokes Ctrl+1 and Ctrl+2:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=193192
    If you want to use Alt+Ctrl then use this line:
    KeyStroke ks2 = KeyStroke.getKeyStroke(KeyEvent.VK_2, KeyEvent.CTRL_MASK + KeyEvent.ALT_MASK);

  • Average in Results row in calculation properties for Bex Key figure does not work in Analysis for Office 1.4.7

    We are moving from Bex 3.5 to Bex 7.0 and using Analysis for Office 1.4.7
    We have queries that do an average for the results rows of dynamic calculations and the queries will not open in Analysis for Office 1.4.7 (example is below)
    We get an error message that can be found below
    We were able to open the queries in Analysis 1.4.5 with the correct results.
    We do not understand why it worked in an older version and not the new one.
    Is there something missing in the version 1.4.7 of Analysis for Office that is preventing our queries from running?
    We do not want to move back to 1.4.5 because the performance is better in 1.4.7.
    Help.....

    Hi Patty,
    I just checked 1.4.7 by making "Calculate Results As.." for Key figure and formula to Average(and also tried others as well). No error is coming in Analysis Office. reason might be because of other reason
    Any way, As Tammy Powlas suggested can you check with SP8

  • Fluxbox/keys - two command using one combination of keyboard keys

    I want to run 2 commands using pressing alt+v, it should be done using this command in fluxbox keys:
    Mod1 V :MacroCmd {gksudo pon vpn-doma} {gksudo sh /home/r-c/.vpn-doma-routy}
    but this doesnt work. I want to first execute this command: gksudo pon vpn-doma  and after executing this: gksudo sh /home/r-c/.vpn-doma-routy
    When I execute it separately in terminal, it works. ALso I restarted fluxbox enviroment. Can you help?

    Are you now using a macro with {exec <command 1>} {exec <command 2>} ?
    That may start them at the same time, but in the command I put above, the second command should not start until the first is complete (and returns true/success).
    You could add delay, if needed, as follows
    gksudo pon vpn-doma && sleep 1 && gksudo sh /home/r-c/.vpn-doma-routy
    Edit: specifically
    Mod1 V :exec "gksudo pon vpn-doma && gksudo sh /home/r-c/.vpn-doma-routy"
    Ditch the macro, it should not be needed.
    Last edited by Trilby (2012-03-25 15:45:21)

  • Maintenance view subset P = S in combination with a non-key.

    We are trying to create a maintenance view with subset selection based
    on a non-key field. However no dialog screen will be created in order to
    select the right data (subset) for list display. We found a referenced
    note of this problem: sap note nr 624459 "subset field is not
    transferred" which is already available in the L7D system.
    -> Does the subset P = S only work in combination with a key field?

    Hi,
    I presume the P = S works for only Primary Key combinations. For eg: If you create maintenance view on MARD table and give values P= S to say only MATNR and WERKS fields. You generate the Table Maintenance. You get the filter for Material and Plant but there is a button F7 new selection .. if you press that you can select the third key field Storage Location as well. Presumably it works for the key fields alone.
    Cordially,
    Shankar Narayanan.

  • Maintain the acct key and accruals/provisions in the calculation schema

    Dear All,
    I have a problem during invoice posting.
    I create a new freight condition type & assigned it to the calculation schema. I also create a  new account key & assigned to the calculation schema in  accrual keys. Then done OBYC settings. During MIGO, its working fine. But when i post the Miro against po, giving an error msg., "Maintain the acct key and accruals/provisions in the calculation schema, Message no. M8434"
    plz help me to solve this issue.

    Have you ticked the 'Acruals' in control data 2 in M/06 for this condition.
    Regards,
    Piyush

  • How to get Multiple Key Combinations

    Hi,
    I am trying to get the event for multiple key combinations, ie some thing like "*Ctrl + I + M*" or "*Alt + A + S + D*".
    For two key combinations ( like Ctrl+I or Ctrl+M) i am able to get, but for more than two keys combinations, can someone give an idea how to get it.
    I tried with both KeyCodeCombination and KeyCharacterCombination.
    Below is a quick example to check for the key combination demo.
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.input.KeyCharacterCombination;
    import javafx.scene.input.KeyCode;
    import javafx.scene.input.KeyCodeCombination;
    import javafx.scene.input.KeyCombination;
    import javafx.scene.input.KeyEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class KeyCombinationDemo extends Application {
         Stage stage;
         Scene scene;
         StackPane root;
         public static void main(String[] args) {
              Application.launch(args);
         @Override
         public void start(Stage stage) throws Exception {
              this.stage = stage;
              root = new StackPane();
              root.getChildren().add(new Label("Enter any Key"));
              this.scene = new Scene(root, Color.LINEN);
              stage.setTitle(this.getClass().getSimpleName());
              stage.setWidth(600);
             stage.setHeight(600);
             stage.setScene(this.scene);
             stage.show();
              final KeyCombination keyComb1=new KeyCodeCombination(KeyCode.I,KeyCombination.CONTROL_DOWN);
              final KeyCharacterCombination keyComb2 = new KeyCharacterCombination("M",KeyCombination.CONTROL_DOWN);
              this.scene.addEventHandler(KeyEvent.KEY_RELEASED, new EventHandler<KeyEvent>() {
                   @Override
                   public void handle(KeyEvent event) {
                        if(keyComb1.match(event)){
                             System.out.println("Ctrl+I pressed");
                        }else if(keyComb2.match(event)){
                             System.out.println("Ctrl+M pressed");
    }Thanks in Advance.
    Regards,
    Sai Pradeep Dandem.

    Hi John,
    Thanks for the prompt response.
    I tried the way you suggested and it worked well !! Thanks :)
    But, still i am expecting a direct way to handle this. :p
    Anyway here is code which i modified accordingly
    final String keyCombination1 = "_ALT_E_O";
    final String keyCombination2 = "_ALT_E_P";
    final String keyCombination3 = "_CONTROL_H";
    final StringBuilder key = new StringBuilder();
    this.scene.addEventHandler(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
         @Override
         public void handle(KeyEvent event) {
              String codeStr = event.getCode().toString();
              if(!key.toString().endsWith("_"+codeStr)){
                   key.append("_"+codeStr);
    this.scene.addEventHandler(KeyEvent.KEY_RELEASED, new EventHandler<KeyEvent>() {
         @Override
         public void handle(KeyEvent event) {
              if(key.length()>0){
                   if(key.toString().equals(keyCombination1)){
                        System.out.println("Key Combination 1 pressed");
                   }else if(key.toString().equals(keyCombination2)){
                        System.out.println("Key Combination 2 pressed");
                   }else if(key.toString().equals(keyCombination3)){
                        System.out.println("Key Combination 3 pressed");
                   key.setLength(0);
    });Thanks & Regards,
    Sai Pradeep Dandem

  • Number keys on calculator key board

    For some reason the number keys on the calculator side of the key board are not working. I can not use them to conduct any calculations on the calculator. Can anyone help??

    Hi duggg,
    updating your OSX to the latest version as baltwo proposed is a good idea.
    Also, maybe you accidentally activated Mouse Keys http://docs.info.apple.com/article.html?path=Mac/10.5/en/8421.html
    And if not, have you tried the 'Clear key' (the on above the '7'-key on the Numpad)
    Regards
    Stefan

  • Virtual Key Figures in RSR_OLAP_BADI not re-calculated correctly

    Hello BW/BI Experts!
        Please clarify why is the COMPUTE METHOD of RSR_OLAP_BADI not triggered or executed
    if you remove a drilldown to a certain characteristic.
        For instance, my query is drilled down by customer and material by default. Upon
    opening the query and after entering the appropriate selections, the virtual key figures
    that I have used in the query are correct .
        However, if you remove the drilldown by customer(for example), the virtual key figure
    is not re-computed. I was able to verify this by setting break-point in the COMPUTE
    method. However, if you drilldown by customer again, the re-calculation for the virtual
    key figure is correct likewise, if you refresh query, the results will be correct.
         Is this really the normal behavior of the said BADI? Why is it unstable? If I will
    use RSR00002(the user exit version), will I not have the same issue?
    Thanks in Advance!

    If I will use RSR00002(the user exit version), will I not have the same issue?
    I dont see any reason why this wouldnt behave the same way.
    I assume from ur post that you need to read ur customer and material to derive ur virtual KF in the BAdi. When you remove the drilldown the customer value is no more available for the exit to calculate  the KF, thats when it throws out a wrong number. I havent seen a work around for this. Please update the form if you find a solution to get the customer values into the exit even after removing the drill down.

  • Keyboard - Combination Option key+number is not working

    I have a actual problem with my czech wireless keyboard. When I use the right Option key in combination with numbers 1-9, nothing happens. Now, I am not able to write @ without the keyboard viewer or changing into US keyboard layout. What is surprising is that other combinations with Option key work as usual. Can anybody help. Can that be caused by some SW update?

    Hi mirahozda,
    Welcome to the Apple Support Communities!
    In this situation where some of your keys are not responding as expected, I would recommend reading over and working through the Some keys don’t work as expected section of the attached article. 
    One or more keys on the keyboard do not respond - Apple Support
    Have a great day,
    Joe

  • Disable some combination of keys

    Hi!
    1. I need to know how can i disable some combination of keys using java
    example tab + space
    2 .Also i want to quit Taskmanager automacally and i don't want my application to appear on screen

    M y purpose is to disable alt+space, alt + F4, right clicking, any other combination of hot keys except alt+ctrl +del and preventing my application to appear on the taskbar not taskmanager.                                                                                                                                                                                                                                                                                                                                                                                           

  • DSO Key Fields Deisgn

    Hi Experts,
    I have Sales Schedule data( DSO ) and Delivery Item data( DSO ). I would like to combine this two DSO into one new DSO in order to get the Open Order Quantity ( Order Quantity - Delivery Quantiy ).
    Fields in Sales Schedule DSO are
    Sales Document   ( Key Field )
    Sales Docment Item ( Key Field )
    Schedule Line  ( Key Field )
    Material Avail Date  ( Data Field )
    Order Quantity  ( Key Figure )
    Fields in Delivery Item  DSO are
    Delivery Number ( Key Field )
    Delivery Item Number ( Key Field )
    Document number of the reference document   ( Data Field ) which is refered to the field Sales Document in 1st DSO
    Item Number of the reference document  ( Data Field )  which is refered to the Sales Document Item in 1st DSO
    Delivery Quantity  ( Key Figure )
    I would like to create new DSO based on the common fields Sales Document (DSO1)= Document number of the reference document ( DSO2)
    and Sales Document Item Number ( DSO1) = Item Number of the reference document (DSO2)  in the both DSOs.
    I required feilds like Sales Document, Sales Document Item, Material Avail Date, Order Quantity and Deliver Quantity ( Some other fields which are not mandatory ).
    Would like to create new DSO on top of two DSOs, please suggest me what are the Key Fields and Data fields should be in the new DSO.
    Your quick help is really appreciated.
    Thanks
    Robert.

    Hi Robert,
    Define the key as a combination of the keys of both DSO:
    Sales Document ( Key Field )
    Sales Docment Item ( Key Field )
    Schedule Line ( Key Field )
    Delivery Number ( Key Field )
    Delivery Item Number ( Key Field )
    Map the sales doc from the delivery to the key as well.
    This will ensure you have a unique key and your data will be aggregated correctly when reporting.
    Cheers,
    Diego

Maybe you are looking for

  • BAPI_SALESORDER_CREATEFROMDAT1 Purchase Requisition Creation

    I am creating sales orders using BAPI_SALESORDER_CREATEFROMDAT1.  Some of the sales orders include a third-party item which require a PO.  Well I have it creating the purchase requisition it errors out because it can't determine the consumption accou

  • Quicktime will not play .mov files since Lion installation

    When using Quicktime 10.6, I am receiving the error message "...file could not be opened. A required codec isn't available." when attempting to open .mov files.  Prior to installing OS X Lion, there were no issues with playing .mov files.

  • Print Report in Landscape

    Hi, I ned to print one report in landscape format. though, i tried to select landscape option in print option. I guess, I need to first design the report accordingly. this is just a guess. also, I really appricaite if you direct me a link where I can

  • Eclipse+SOA Suite 10.1.3.1 Issues configuring Oracle AS in eclipse

    I have searched all the forums and google but could not find much information. I have installade soa_windows_x86_101310_disk1 and configured SOA Suite 10.1.3.1 whcih works perfectly fine with oracle JDeveloper. Since our developement platform is ecli

  • Half Frames in Final Cut and Motion

    Hi, This has probably been asked before, and if not I'm surprised, but here goes - I'm editing a music video with images, and I need the images to change on the beat of the song.... but we have worked out that they need to change every 24.5 frames. B